Documentation ¶
Index ¶
- func ContextAddCtxId(builder *flatbuffers.Builder, ctxId uint64)
- func ContextEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ContextStart(builder *flatbuffers.Builder)
- func IDAddCallId(builder *flatbuffers.Builder, callId uint64)
- func IDAddObject(builder *flatbuffers.Builder, object flatbuffers.UOffsetT)
- func IDEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func IDStart(builder *flatbuffers.Builder)
- func NoReplyEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func NoReplyStart(builder *flatbuffers.Builder)
- func RegisterCancellerServer(s *grpc.Server, srv CancellerServer)
- func RegisterStopperServer(s *grpc.Server, srv StopperServer)
- func StopHandleAddStopId(builder *flatbuffers.Builder, stopId uint64)
- func StopHandleEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func StopHandleStart(builder *flatbuffers.Builder)
- type CancellerClient
- type CancellerServer
- type Context
- type ID
- type NoReply
- type StopHandle
- type StopperClient
- type StopperServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextAddCtxId ¶
func ContextAddCtxId(builder *flatbuffers.Builder, ctxId uint64)
func ContextEnd ¶
func ContextEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ContextStart ¶
func ContextStart(builder *flatbuffers.Builder)
func IDAddCallId ¶
func IDAddCallId(builder *flatbuffers.Builder, callId uint64)
func IDAddObject ¶
func IDAddObject(builder *flatbuffers.Builder, object flatbuffers.UOffsetT)
func IDEnd ¶
func IDEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func IDStart ¶
func IDStart(builder *flatbuffers.Builder)
func NoReplyEnd ¶
func NoReplyEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func NoReplyStart ¶
func NoReplyStart(builder *flatbuffers.Builder)
func RegisterCancellerServer ¶
func RegisterCancellerServer(s *grpc.Server, srv CancellerServer)
func RegisterStopperServer ¶
func RegisterStopperServer(s *grpc.Server, srv StopperServer)
func StopHandleAddStopId ¶
func StopHandleAddStopId(builder *flatbuffers.Builder, stopId uint64)
func StopHandleEnd ¶
func StopHandleEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func StopHandleStart ¶
func StopHandleStart(builder *flatbuffers.Builder)
Types ¶
type CancellerClient ¶
type CancellerClient interface { Cancel(ctx context.Context, in *flatbuffers.Builder, opts ...grpc.CallOption) (*Error, error) }
Client API for Canceller service
func NewCancellerClient ¶
func NewCancellerClient(cc *grpc.ClientConn) CancellerClient
type CancellerServer ¶
Server API for Canceller service
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func GetRootAsContext ¶
func GetRootAsContext(buf []byte, offset flatbuffers.UOffsetT) *Context
func GetSizePrefixedRootAsContext ¶
func GetSizePrefixedRootAsContext(buf []byte, offset flatbuffers.UOffsetT) *Context
func (*Context) MutateCtxId ¶
func (*Context) Table ¶
func (rcv *Context) Table() flatbuffers.Table
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
func GetRootAsID ¶
func GetRootAsID(buf []byte, offset flatbuffers.UOffsetT) *ID
func GetSizePrefixedRootAsID ¶
func GetSizePrefixedRootAsID(buf []byte, offset flatbuffers.UOffsetT) *ID
func (*ID) MutateCallId ¶
func (*ID) Object ¶
func (rcv *ID) Object(obj *cchat__core.Object) *cchat__core.Object
func (*ID) Table ¶
func (rcv *ID) Table() flatbuffers.Table
type NoReply ¶
type NoReply struct {
// contains filtered or unexported fields
}
func GetRootAsNoReply ¶
func GetRootAsNoReply(buf []byte, offset flatbuffers.UOffsetT) *NoReply
func GetSizePrefixedRootAsNoReply ¶
func GetSizePrefixedRootAsNoReply(buf []byte, offset flatbuffers.UOffsetT) *NoReply
func (*NoReply) Table ¶
func (rcv *NoReply) Table() flatbuffers.Table
type StopHandle ¶
type StopHandle struct {
// contains filtered or unexported fields
}
func GetRootAsStopHandle ¶
func GetRootAsStopHandle(buf []byte, offset flatbuffers.UOffsetT) *StopHandle
func GetSizePrefixedRootAsStopHandle ¶
func GetSizePrefixedRootAsStopHandle(buf []byte, offset flatbuffers.UOffsetT) *StopHandle
func (*StopHandle) Init ¶
func (rcv *StopHandle) Init(buf []byte, i flatbuffers.UOffsetT)
func (*StopHandle) MutateStopId ¶
func (rcv *StopHandle) MutateStopId(n uint64) bool
func (*StopHandle) StopId ¶
func (rcv *StopHandle) StopId() uint64
func (*StopHandle) Table ¶
func (rcv *StopHandle) Table() flatbuffers.Table
type StopperClient ¶
type StopperClient interface { Stop(ctx context.Context, in *flatbuffers.Builder, opts ...grpc.CallOption) (*Error, error) }
Client API for Stopper service
func NewStopperClient ¶
func NewStopperClient(cc *grpc.ClientConn) StopperClient
type StopperServer ¶
type StopperServer interface {
Stop(context.Context, *StopHandle) (*flatbuffers.Builder, error)
}
Server API for Stopper service
Click to show internal directories.
Click to hide internal directories.