Documentation ¶
Index ¶
- Variables
- func BookAddIdentifier(builder *flatbuffers.Builder, identifier flatbuffers.UOffsetT)
- func BookAddLogs(builder *flatbuffers.Builder, logs flatbuffers.UOffsetT)
- func BookAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func BookEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func BookStart(builder *flatbuffers.Builder)
- func BookStartLogsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func LogAddIdentifier(builder *flatbuffers.Builder, identifier flatbuffers.UOffsetT)
- func LogAddLogs(builder *flatbuffers.Builder, logs flatbuffers.UOffsetT)
- func LogAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func LogAddOpset(builder *flatbuffers.Builder, opset flatbuffers.UOffsetT)
- func LogAddSignature(builder *flatbuffers.Builder, signature flatbuffers.UOffsetT)
- func LogEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func LogStart(builder *flatbuffers.Builder)
- func LogStartLogsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func LogStartOpsetVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func LogsetAddIdentifier(builder *flatbuffers.Builder, identifier flatbuffers.UOffsetT)
- func LogsetAddLogs(builder *flatbuffers.Builder, logs flatbuffers.UOffsetT)
- func LogsetAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func LogsetAddRoot(builder *flatbuffers.Builder, root flatbuffers.UOffsetT)
- func LogsetAddSignature(builder *flatbuffers.Builder, signature flatbuffers.UOffsetT)
- func LogsetAddSigner(builder *flatbuffers.Builder, signer flatbuffers.UOffsetT)
- func LogsetEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func LogsetStart(builder *flatbuffers.Builder)
- func LogsetStartLogsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func OperationAddAuthorID(builder *flatbuffers.Builder, authorID flatbuffers.UOffsetT)
- func OperationAddModel(builder *flatbuffers.Builder, model uint32)
- func OperationAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func OperationAddNote(builder *flatbuffers.Builder, note flatbuffers.UOffsetT)
- func OperationAddPrev(builder *flatbuffers.Builder, prev flatbuffers.UOffsetT)
- func OperationAddRef(builder *flatbuffers.Builder, ref flatbuffers.UOffsetT)
- func OperationAddRelations(builder *flatbuffers.Builder, relations flatbuffers.UOffsetT)
- func OperationAddSize(builder *flatbuffers.Builder, size int64)
- func OperationAddTimestamp(builder *flatbuffers.Builder, timestamp int64)
- func OperationAddType(builder *flatbuffers.Builder, type_ OpType)
- func OperationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func OperationStart(builder *flatbuffers.Builder)
- func OperationStartRelationsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type Book
- type Log
- func (rcv *Log) Identifier() []byte
- func (rcv *Log) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Log) Logs(obj *Log, j int) bool
- func (rcv *Log) LogsLength() int
- func (rcv *Log) Name() []byte
- func (rcv *Log) Opset(obj *Operation, j int) bool
- func (rcv *Log) OpsetLength() int
- func (rcv *Log) Signature() []byte
- func (rcv *Log) Table() flatbuffers.Table
- type Logset
- func (rcv *Logset) Identifier() []byte
- func (rcv *Logset) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Logset) Logs(obj *Log, j int) bool
- func (rcv *Logset) LogsLength() int
- func (rcv *Logset) Name() []byte
- func (rcv *Logset) Root() []byte
- func (rcv *Logset) Signature() []byte
- func (rcv *Logset) Signer() []byte
- func (rcv *Logset) Table() flatbuffers.Table
- type OpType
- type Operation
- func (rcv *Operation) AuthorID() []byte
- func (rcv *Operation) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Operation) Model() uint32
- func (rcv *Operation) MutateModel(n uint32) bool
- func (rcv *Operation) MutateSize(n int64) bool
- func (rcv *Operation) MutateTimestamp(n int64) bool
- func (rcv *Operation) MutateType(n OpType) bool
- func (rcv *Operation) Name() []byte
- func (rcv *Operation) Note() []byte
- func (rcv *Operation) Prev() []byte
- func (rcv *Operation) Ref() []byte
- func (rcv *Operation) Relations(j int) []byte
- func (rcv *Operation) RelationsLength() int
- func (rcv *Operation) Size() int64
- func (rcv *Operation) Table() flatbuffers.Table
- func (rcv *Operation) Timestamp() int64
- func (rcv *Operation) Type() OpType
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesOpType = map[OpType]string{ OpTypeUnknown: "Unknown", OpTypeInit: "Init", OpTypeAmend: "Amend", OpTypeRemove: "Remove", }
View Source
var EnumValuesOpType = map[string]OpType{ "Unknown": OpTypeUnknown, "Init": OpTypeInit, "Amend": OpTypeAmend, "Remove": OpTypeRemove, }
Functions ¶
func BookAddIdentifier ¶
func BookAddIdentifier(builder *flatbuffers.Builder, identifier flatbuffers.UOffsetT)
func BookAddLogs ¶
func BookAddLogs(builder *flatbuffers.Builder, logs flatbuffers.UOffsetT)
func BookAddName ¶
func BookAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func BookEnd ¶
func BookEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func BookStart ¶
func BookStart(builder *flatbuffers.Builder)
func BookStartLogsVector ¶
func BookStartLogsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func LogAddIdentifier ¶
func LogAddIdentifier(builder *flatbuffers.Builder, identifier flatbuffers.UOffsetT)
func LogAddLogs ¶
func LogAddLogs(builder *flatbuffers.Builder, logs flatbuffers.UOffsetT)
func LogAddName ¶
func LogAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func LogAddOpset ¶
func LogAddOpset(builder *flatbuffers.Builder, opset flatbuffers.UOffsetT)
func LogAddSignature ¶
func LogAddSignature(builder *flatbuffers.Builder, signature flatbuffers.UOffsetT)
func LogEnd ¶
func LogEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func LogStart ¶
func LogStart(builder *flatbuffers.Builder)
func LogStartLogsVector ¶
func LogStartLogsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func LogStartOpsetVector ¶
func LogStartOpsetVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func LogsetAddIdentifier ¶
func LogsetAddIdentifier(builder *flatbuffers.Builder, identifier flatbuffers.UOffsetT)
func LogsetAddLogs ¶
func LogsetAddLogs(builder *flatbuffers.Builder, logs flatbuffers.UOffsetT)
func LogsetAddName ¶
func LogsetAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func LogsetAddRoot ¶
func LogsetAddRoot(builder *flatbuffers.Builder, root flatbuffers.UOffsetT)
func LogsetAddSignature ¶
func LogsetAddSignature(builder *flatbuffers.Builder, signature flatbuffers.UOffsetT)
func LogsetAddSigner ¶
func LogsetAddSigner(builder *flatbuffers.Builder, signer flatbuffers.UOffsetT)
func LogsetEnd ¶
func LogsetEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func LogsetStart ¶
func LogsetStart(builder *flatbuffers.Builder)
func LogsetStartLogsVector ¶
func LogsetStartLogsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func OperationAddAuthorID ¶
func OperationAddAuthorID(builder *flatbuffers.Builder, authorID flatbuffers.UOffsetT)
func OperationAddModel ¶
func OperationAddModel(builder *flatbuffers.Builder, model uint32)
func OperationAddName ¶
func OperationAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func OperationAddNote ¶
func OperationAddNote(builder *flatbuffers.Builder, note flatbuffers.UOffsetT)
func OperationAddPrev ¶
func OperationAddPrev(builder *flatbuffers.Builder, prev flatbuffers.UOffsetT)
func OperationAddRef ¶
func OperationAddRef(builder *flatbuffers.Builder, ref flatbuffers.UOffsetT)
func OperationAddRelations ¶
func OperationAddRelations(builder *flatbuffers.Builder, relations flatbuffers.UOffsetT)
func OperationAddSize ¶
func OperationAddSize(builder *flatbuffers.Builder, size int64)
func OperationAddTimestamp ¶
func OperationAddTimestamp(builder *flatbuffers.Builder, timestamp int64)
func OperationAddType ¶
func OperationAddType(builder *flatbuffers.Builder, type_ OpType)
func OperationEnd ¶
func OperationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func OperationStart ¶
func OperationStart(builder *flatbuffers.Builder)
func OperationStartRelationsVector ¶
func OperationStartRelationsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
Types ¶
type Book ¶
type Book struct {
// contains filtered or unexported fields
}
func GetRootAsBook ¶
func GetRootAsBook(buf []byte, offset flatbuffers.UOffsetT) *Book
func (*Book) Identifier ¶
func (*Book) LogsLength ¶
func (*Book) Table ¶
func (rcv *Book) Table() flatbuffers.Table
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func GetRootAsLog ¶
func GetRootAsLog(buf []byte, offset flatbuffers.UOffsetT) *Log
func (*Log) Identifier ¶
func (*Log) LogsLength ¶
func (*Log) OpsetLength ¶
func (*Log) Table ¶
func (rcv *Log) Table() flatbuffers.Table
type Logset ¶
type Logset struct {
// contains filtered or unexported fields
}
func GetRootAsLogset ¶
func GetRootAsLogset(buf []byte, offset flatbuffers.UOffsetT) *Logset
func (*Logset) Identifier ¶
func (*Logset) LogsLength ¶
func (*Logset) Table ¶
func (rcv *Logset) Table() flatbuffers.Table
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
func GetRootAsOperation ¶
func GetRootAsOperation(buf []byte, offset flatbuffers.UOffsetT) *Operation
func (*Operation) MutateModel ¶
func (*Operation) MutateSize ¶
func (*Operation) MutateTimestamp ¶
func (*Operation) MutateType ¶
func (*Operation) RelationsLength ¶
func (*Operation) Table ¶
func (rcv *Operation) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.