function Message(subject, recipient, content) {
this.subject = subject;
this.recipient = recipient;
this.content = content;
}
Message.prototype.show = function(){
package main | |
/* | |
Put ldap.go in ldap subdir | |
Run: go build example.go | |
Run: ./example < ldap-filter.txt | |
*/ | |
import ( | |
"fmt" |
var ffi = require('ffi'), | |
ref = require('ref'), | |
Struct = require('ref-struct'), | |
Library = require('./Library'), | |
Type = ref.Type, | |
NULL = ref.NULL, | |
isNull = ref.isNull; | |
var groups = ['libs', 'types', 'structs', 'callbacks', 'enums']; |