Beispiel #1
0
func NewAccount(pool int) *Account {
	a := &Account{}
	a.Thread = rpc.NewThread("Account", pool, 128)
	return a
}
Beispiel #2
0
func NewRaw(pool int) *Database {
	idb := &Database{}
	idb.Thread = rpc.NewThread("raw", pool, 32)
	return idb
}