Documentation ¶
Overview ¶
Generated by the go idl tools. DO NOT EDIT 2022-11-30 17:54:45 source: TestCallee
Generated by the go idl tools. DO NOT EDIT 2022-03-15 23:05:32 source: box_example
Index ¶
- Constants
- func InitSDK(ops ...string) (idlrpc.ISDK, error)
- func TestCalleeProxyCreator(trans transport.ITransport) idlrpc.IProxy
- func TestCalleeStubCreator(v interface{}) idlrpc.IStub
- type ITestCallee
- type TestCalleeImpl
- func (sp *TestCalleeImpl) Add(ctx context.Context, _1 int32, _2 int32) (ret1 int32, err error)
- func (sp *TestCalleeImpl) GetNickName() string
- func (sp *TestCalleeImpl) GetUUID() uint64
- func (sp *TestCalleeImpl) OnAfterFork(ctx context.Context) bool
- func (sp *TestCalleeImpl) OnBeforeDestroy() bool
- func (sp *TestCalleeImpl) OnTick() bool
- func (sp *TestCalleeImpl) Sub(ctx context.Context, _1 int32, _2 int32) (ret1 int32, err error)
- type TestCalleeProxy
- func (sp *TestCalleeProxy) Add(_1 int32, _2 int32) (ret1 int32, err error)
- func (sp *TestCalleeProxy) GetSignature(methid uint32) string
- func (sp *TestCalleeProxy) GetSrvName() string
- func (sp *TestCalleeProxy) GetUUID() uint64
- func (sp *TestCalleeProxy) IsOneWay(methodid uint32) (isoneway bool)
- func (sp *TestCalleeProxy) Sub(_1 int32, _2 int32) (ret1 int32, err error)
- type TestCalleeSDK
- type TestCalleeStub
- func (sb *TestCalleeStub) Add(ctx context.Context, req []byte) (resp []byte, err error)
- func (sb *TestCalleeStub) Call(ctx context.Context, methodId uint32, req []byte) (resp []byte, err error)
- func (sb *TestCalleeStub) GetMutipleNum() uint32
- func (sb *TestCalleeStub) GetServiceName() string
- func (sb *TestCalleeStub) GetSignature(methodid uint32) string
- func (sb *TestCalleeStub) GetStatus() idlrpc.ServiceStatus
- func (sb *TestCalleeStub) GetUUID() idlrpc.SvcUuid
- func (sb *TestCalleeStub) IsOneWay(methodid uint32) (isoneway bool)
- func (sb *TestCalleeStub) OnAfterFork(ctx context.Context) bool
- func (sb *TestCalleeStub) OnBeforeDestroy() bool
- func (sb *TestCalleeStub) OnTick() bool
- func (sb *TestCalleeStub) SetStatus(status idlrpc.ServiceStatus)
- func (sb *TestCalleeStub) Sub(ctx context.Context, req []byte) (resp []byte, err error)
Constants ¶
View Source
const ( SrvUUID = 6784101180412288340 SrvName = "TestCallee" )
Variables ¶
This section is empty.
Functions ¶
func TestCalleeProxyCreator ¶
func TestCalleeProxyCreator(trans transport.ITransport) idlrpc.IProxy
func TestCalleeStubCreator ¶
Types ¶
type ITestCallee ¶
type TestCalleeImpl ¶
type TestCalleeImpl struct { }
func NewTestCallee ¶
func NewTestCallee() *TestCalleeImpl
func (*TestCalleeImpl) GetNickName ¶
func (sp *TestCalleeImpl) GetNickName() string
func (*TestCalleeImpl) GetUUID ¶
func (sp *TestCalleeImpl) GetUUID() uint64
func (*TestCalleeImpl) OnAfterFork ¶
func (sp *TestCalleeImpl) OnAfterFork(ctx context.Context) bool
func (*TestCalleeImpl) OnBeforeDestroy ¶
func (sp *TestCalleeImpl) OnBeforeDestroy() bool
func (*TestCalleeImpl) OnTick ¶
func (sp *TestCalleeImpl) OnTick() bool
type TestCalleeProxy ¶
define stub.ProxyStub
func (*TestCalleeProxy) Add ¶
func (sp *TestCalleeProxy) Add(_1 int32, _2 int32) (ret1 int32, err error)
func (*TestCalleeProxy) GetSignature ¶
func (sp *TestCalleeProxy) GetSignature(methid uint32) string
func (*TestCalleeProxy) GetSrvName ¶
func (sp *TestCalleeProxy) GetSrvName() string
func (*TestCalleeProxy) IsOneWay ¶
func (sp *TestCalleeProxy) IsOneWay(methodid uint32) (isoneway bool)
type TestCalleeSDK ¶
type TestCalleeSDK struct {
// contains filtered or unexported fields
}
func (*TestCalleeSDK) GetNickName ¶
func (sdk *TestCalleeSDK) GetNickName() string
func (*TestCalleeSDK) GetUuid ¶
func (sdk *TestCalleeSDK) GetUuid() uint64
func (*TestCalleeSDK) IsProxy ¶
func (sdk *TestCalleeSDK) IsProxy() bool
type TestCalleeStub ¶
type TestCalleeStub struct {
// contains filtered or unexported fields
}
func NewTestCalleeStub ¶
func NewTestCalleeStub(srvImpl ITestCallee) *TestCalleeStub
func (*TestCalleeStub) GetMutipleNum ¶
func (sb *TestCalleeStub) GetMutipleNum() uint32
func (*TestCalleeStub) GetServiceName ¶
func (sb *TestCalleeStub) GetServiceName() string
func (*TestCalleeStub) GetSignature ¶
func (sb *TestCalleeStub) GetSignature(methodid uint32) string
func (*TestCalleeStub) GetStatus ¶
func (sb *TestCalleeStub) GetStatus() idlrpc.ServiceStatus
func (*TestCalleeStub) GetUUID ¶
func (sb *TestCalleeStub) GetUUID() idlrpc.SvcUuid
func (*TestCalleeStub) IsOneWay ¶
func (sb *TestCalleeStub) IsOneWay(methodid uint32) (isoneway bool)
func (*TestCalleeStub) OnAfterFork ¶
func (sb *TestCalleeStub) OnAfterFork(ctx context.Context) bool
func (*TestCalleeStub) OnBeforeDestroy ¶
func (sb *TestCalleeStub) OnBeforeDestroy() bool
func (*TestCalleeStub) OnTick ¶
func (sb *TestCalleeStub) OnTick() bool
func (*TestCalleeStub) SetStatus ¶
func (sb *TestCalleeStub) SetStatus(status idlrpc.ServiceStatus)
Click to show internal directories.
Click to hide internal directories.