offheap: github.com/glycerine/offheap/keyval Index | Files

package keyval

import "github.com/glycerine/offheap/keyval"

Index

Package Files

account.go keyval.capnp.go translateCapn.go

type Account Uses

type Account struct {
    Id               int64  `protobuf:"varint,1,opt,name=id" json:"id" capid:"0"`
    Dty              int64  `protobuf:"varint,2,opt,name=dty" json:"dty" capid:"1"`
    AcctId           string `protobuf:"bytes,3,opt" json:"AcctId" capid:"2"`
    OpenedFromIP     string `protobuf:"bytes,4,opt" json:"OpenedFromIP" capid:"3"`
    Name             string `protobuf:"bytes,5,opt" json:"Name" capid:"4"`
    Email            string `protobuf:"bytes,6,opt" json:"Email" capid:"5"`
    Disabled         int64  `protobuf:"varint,7,opt" json:"Disabled" capid:"6"`
    XXX_unrecognized []byte `json:"-" capid:"skip"`
}

value

func AccountCapnToGo Uses

func AccountCapnToGo(src AccountCapn, dest *Account) *Account

func (*Account) Load Uses

func (s *Account) Load(r io.Reader)

func (*Account) Save Uses

func (s *Account) Save(w io.Writer)

type AccountCapn Uses

type AccountCapn C.Struct

func AccountGoToCapn Uses

func AccountGoToCapn(seg *capn.Segment, src *Account) AccountCapn

func AutoNewAccountCapn Uses

func AutoNewAccountCapn(s *C.Segment) AccountCapn

func NewAccountCapn Uses

func NewAccountCapn(s *C.Segment) AccountCapn

func NewRootAccountCapn Uses

func NewRootAccountCapn(s *C.Segment) AccountCapn

func ReadRootAccountCapn Uses

func ReadRootAccountCapn(s *C.Segment) AccountCapn

func (AccountCapn) AcctId Uses

func (s AccountCapn) AcctId() string

func (AccountCapn) Disabled Uses

func (s AccountCapn) Disabled() int64

func (AccountCapn) Dty Uses

func (s AccountCapn) Dty() int64

func (AccountCapn) Email Uses

func (s AccountCapn) Email() string

func (AccountCapn) Id Uses

func (s AccountCapn) Id() int64

func (AccountCapn) MarshalJSON Uses

func (s AccountCapn) MarshalJSON() (bs []byte, err error)

capn.JSON_enabled == false so we stub MarshallJSON().

func (AccountCapn) Name Uses

func (s AccountCapn) Name() string

func (AccountCapn) OpenedFromIP Uses

func (s AccountCapn) OpenedFromIP() string

func (AccountCapn) SetAcctId Uses

func (s AccountCapn) SetAcctId(v string)

func (AccountCapn) SetDisabled Uses

func (s AccountCapn) SetDisabled(v int64)

func (AccountCapn) SetDty Uses

func (s AccountCapn) SetDty(v int64)

func (AccountCapn) SetEmail Uses

func (s AccountCapn) SetEmail(v string)

func (AccountCapn) SetId Uses

func (s AccountCapn) SetId(v int64)

func (AccountCapn) SetName Uses

func (s AccountCapn) SetName(v string)

func (AccountCapn) SetOpenedFromIP Uses

func (s AccountCapn) SetOpenedFromIP(v string)

type AccountCapn_List Uses

type AccountCapn_List C.PointerList

func NewAccountCapnList Uses

func NewAccountCapnList(s *C.Segment, sz int) AccountCapn_List

func (AccountCapn_List) At Uses

func (s AccountCapn_List) At(i int) AccountCapn

func (AccountCapn_List) Len Uses

func (s AccountCapn_List) Len() int

func (AccountCapn_List) Set Uses

func (s AccountCapn_List) Set(i int, item AccountCapn)

func (AccountCapn_List) ToArray Uses

func (s AccountCapn_List) ToArray() []AccountCapn

type AcctId Uses

type AcctId struct {
    AcctId string `json:"AcctId" capid:"0"`
}

key

func AcctIdCapnToGo Uses

func AcctIdCapnToGo(src AcctIdCapn, dest *AcctId) *AcctId

func (*AcctId) Load Uses

func (s *AcctId) Load(r io.Reader)

func (*AcctId) Save Uses

func (s *AcctId) Save(w io.Writer)

type AcctIdCapn Uses

type AcctIdCapn C.Struct

func AcctIdGoToCapn Uses

func AcctIdGoToCapn(seg *capn.Segment, src *AcctId) AcctIdCapn

func AutoNewAcctIdCapn Uses

func AutoNewAcctIdCapn(s *C.Segment) AcctIdCapn

func NewAcctIdCapn Uses

func NewAcctIdCapn(s *C.Segment) AcctIdCapn

func NewRootAcctIdCapn Uses

func NewRootAcctIdCapn(s *C.Segment) AcctIdCapn

func ReadRootAcctIdCapn Uses

func ReadRootAcctIdCapn(s *C.Segment) AcctIdCapn

func (AcctIdCapn) AcctId Uses

func (s AcctIdCapn) AcctId() string

func (AcctIdCapn) MarshalJSON Uses

func (s AcctIdCapn) MarshalJSON() (bs []byte, err error)

capn.JSON_enabled == false so we stub MarshallJSON().

func (AcctIdCapn) SetAcctId Uses

func (s AcctIdCapn) SetAcctId(v string)

type AcctIdCapn_List Uses

type AcctIdCapn_List C.PointerList

func NewAcctIdCapnList Uses

func NewAcctIdCapnList(s *C.Segment, sz int) AcctIdCapn_List

func (AcctIdCapn_List) At Uses

func (s AcctIdCapn_List) At(i int) AcctIdCapn

func (AcctIdCapn_List) Len Uses

func (s AcctIdCapn_List) Len() int

func (AcctIdCapn_List) Set Uses

func (s AcctIdCapn_List) Set(i int, item AcctIdCapn)

func (AcctIdCapn_List) ToArray Uses

func (s AcctIdCapn_List) ToArray() []AcctIdCapn

Package keyval imports 4 packages (graph). Updated 2016-08-02. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).