Documentation
¶
Index ¶
- Variables
- func FinishPluginRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishPluginResponseBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedPluginRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedPluginResponseBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func PluginRequestAddCookie(builder *flatbuffers.Builder, cookie uint64)
- func PluginRequestAddRequest(builder *flatbuffers.Builder, request flatbuffers.UOffsetT)
- func PluginRequestAddVersion(builder *flatbuffers.Builder, version uint64)
- func PluginRequestEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func PluginRequestStart(builder *flatbuffers.Builder)
- func PluginResponseAddCookie(builder *flatbuffers.Builder, cookie uint64)
- func PluginResponseAddPayload(builder *flatbuffers.Builder, payload flatbuffers.UOffsetT)
- func PluginResponseAddPayloadType(builder *flatbuffers.Builder, payloadType Payload)
- func PluginResponseAddVersion(builder *flatbuffers.Builder, version uint64)
- func PluginResponseEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func PluginResponseStart(builder *flatbuffers.Builder)
- type Payload
- type PayloadT
- type PluginRequest
- func (rcv *PluginRequest) Cookie() uint64
- func (rcv *PluginRequest) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *PluginRequest) MutateCookie(n uint64) bool
- func (rcv *PluginRequest) MutateVersion(n uint64) bool
- func (rcv *PluginRequest) Request(obj *generated__plugin__client.Request) *generated__plugin__client.Request
- func (rcv *PluginRequest) Table() flatbuffers.Table
- func (rcv *PluginRequest) UnPack() *PluginRequestT
- func (rcv *PluginRequest) UnPackTo(t *PluginRequestT)
- func (rcv *PluginRequest) Version() uint64
- type PluginRequestT
- type PluginResponse
- func (rcv *PluginResponse) Cookie() uint64
- func (rcv *PluginResponse) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *PluginResponse) MutateCookie(n uint64) bool
- func (rcv *PluginResponse) MutatePayloadType(n Payload) bool
- func (rcv *PluginResponse) MutateVersion(n uint64) bool
- func (rcv *PluginResponse) Payload(obj *flatbuffers.Table) bool
- func (rcv *PluginResponse) PayloadType() Payload
- func (rcv *PluginResponse) Table() flatbuffers.Table
- func (rcv *PluginResponse) UnPack() *PluginResponseT
- func (rcv *PluginResponse) UnPackTo(t *PluginResponseT)
- func (rcv *PluginResponse) Version() uint64
- type PluginResponseT
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesPayload = map[Payload]string{ PayloadNONE: "NONE", Payloadgenerated_plugin_client_Request: "generated_plugin_client_Request", Payloadgenerated_plugin_client_Response: "generated_plugin_client_Response", }
View Source
var EnumValuesPayload = map[string]Payload{ "NONE": PayloadNONE, "generated_plugin_client_Request": Payloadgenerated_plugin_client_Request, "generated_plugin_client_Response": Payloadgenerated_plugin_client_Response, }
Functions ¶
func FinishPluginRequestBuffer ¶
func FinishPluginRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishPluginResponseBuffer ¶
func FinishPluginResponseBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedPluginRequestBuffer ¶
func FinishSizePrefixedPluginRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedPluginResponseBuffer ¶
func FinishSizePrefixedPluginResponseBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func PluginRequestAddCookie ¶
func PluginRequestAddCookie(builder *flatbuffers.Builder, cookie uint64)
func PluginRequestAddRequest ¶
func PluginRequestAddRequest(builder *flatbuffers.Builder, request flatbuffers.UOffsetT)
func PluginRequestAddVersion ¶
func PluginRequestAddVersion(builder *flatbuffers.Builder, version uint64)
func PluginRequestEnd ¶
func PluginRequestEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func PluginRequestStart ¶
func PluginRequestStart(builder *flatbuffers.Builder)
func PluginResponseAddCookie ¶
func PluginResponseAddCookie(builder *flatbuffers.Builder, cookie uint64)
func PluginResponseAddPayload ¶
func PluginResponseAddPayload(builder *flatbuffers.Builder, payload flatbuffers.UOffsetT)
func PluginResponseAddPayloadType ¶
func PluginResponseAddPayloadType(builder *flatbuffers.Builder, payloadType Payload)
func PluginResponseAddVersion ¶
func PluginResponseAddVersion(builder *flatbuffers.Builder, version uint64)
func PluginResponseEnd ¶
func PluginResponseEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func PluginResponseStart ¶
func PluginResponseStart(builder *flatbuffers.Builder)
Types ¶
type PayloadT ¶
type PayloadT struct { Type Payload Value interface{} }
func (*PayloadT) Pack ¶
func (t *PayloadT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type PluginRequest ¶
type PluginRequest struct {
// contains filtered or unexported fields
}
func GetRootAsPluginRequest ¶
func GetRootAsPluginRequest(buf []byte, offset flatbuffers.UOffsetT) *PluginRequest
func GetSizePrefixedRootAsPluginRequest ¶
func GetSizePrefixedRootAsPluginRequest(buf []byte, offset flatbuffers.UOffsetT) *PluginRequest
func (*PluginRequest) Cookie ¶
func (rcv *PluginRequest) Cookie() uint64
func (*PluginRequest) Init ¶
func (rcv *PluginRequest) Init(buf []byte, i flatbuffers.UOffsetT)
func (*PluginRequest) MutateCookie ¶
func (rcv *PluginRequest) MutateCookie(n uint64) bool
func (*PluginRequest) MutateVersion ¶
func (rcv *PluginRequest) MutateVersion(n uint64) bool
func (*PluginRequest) Request ¶
func (rcv *PluginRequest) Request(obj *generated__plugin__client.Request) *generated__plugin__client.Request
func (*PluginRequest) Table ¶
func (rcv *PluginRequest) Table() flatbuffers.Table
func (*PluginRequest) UnPack ¶
func (rcv *PluginRequest) UnPack() *PluginRequestT
func (*PluginRequest) UnPackTo ¶
func (rcv *PluginRequest) UnPackTo(t *PluginRequestT)
func (*PluginRequest) Version ¶
func (rcv *PluginRequest) Version() uint64
type PluginRequestT ¶
type PluginRequestT struct { Version uint64 `json:"version"` Cookie uint64 `json:"cookie"` Request *generated__plugin__client.RequestT `json:"request"` }
func (*PluginRequestT) Pack ¶
func (t *PluginRequestT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type PluginResponse ¶
type PluginResponse struct {
// contains filtered or unexported fields
}
func GetRootAsPluginResponse ¶
func GetRootAsPluginResponse(buf []byte, offset flatbuffers.UOffsetT) *PluginResponse
func GetSizePrefixedRootAsPluginResponse ¶
func GetSizePrefixedRootAsPluginResponse(buf []byte, offset flatbuffers.UOffsetT) *PluginResponse
func (*PluginResponse) Cookie ¶
func (rcv *PluginResponse) Cookie() uint64
func (*PluginResponse) Init ¶
func (rcv *PluginResponse) Init(buf []byte, i flatbuffers.UOffsetT)
func (*PluginResponse) MutateCookie ¶
func (rcv *PluginResponse) MutateCookie(n uint64) bool
func (*PluginResponse) MutatePayloadType ¶
func (rcv *PluginResponse) MutatePayloadType(n Payload) bool
func (*PluginResponse) MutateVersion ¶
func (rcv *PluginResponse) MutateVersion(n uint64) bool
func (*PluginResponse) Payload ¶
func (rcv *PluginResponse) Payload(obj *flatbuffers.Table) bool
func (*PluginResponse) PayloadType ¶
func (rcv *PluginResponse) PayloadType() Payload
func (*PluginResponse) Table ¶
func (rcv *PluginResponse) Table() flatbuffers.Table
func (*PluginResponse) UnPack ¶
func (rcv *PluginResponse) UnPack() *PluginResponseT
func (*PluginResponse) UnPackTo ¶
func (rcv *PluginResponse) UnPackTo(t *PluginResponseT)
func (*PluginResponse) Version ¶
func (rcv *PluginResponse) Version() uint64
type PluginResponseT ¶
type PluginResponseT struct { Version uint64 `json:"version"` Cookie uint64 `json:"cookie"` Payload *PayloadT `json:"payload"` }
func (*PluginResponseT) Pack ¶
func (t *PluginResponseT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
Click to show internal directories.
Click to hide internal directories.