call

package
v0.0.0-...-e6efe32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2021 License: ISC Imports: 4 Imported by: 0

Documentation

Index

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

type CancellerServer interface {
	Cancel(context.Context, *Context) (*flatbuffers.Builder, error)
}

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) CtxId

func (rcv *Context) CtxId() uint64

func (*Context) Init

func (rcv *Context) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Context) MutateCtxId

func (rcv *Context) MutateCtxId(n uint64) bool

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) CallId

func (rcv *ID) CallId() uint64

func (*ID) Init

func (rcv *ID) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ID) MutateCallId

func (rcv *ID) MutateCallId(n uint64) bool

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) Init

func (rcv *NoReply) Init(buf []byte, i flatbuffers.UOffsetT)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL