Documentation
¶
Overview ¶
Generated by the go idl tools. DO NOT EDIT 2023-02-09 15:04:27 source: TestCaller
Generated by the go idl tools. DO NOT EDIT 2022-03-15 23:05:31 source: box_example
Generated by the go idl tools. DO NOT EDIT 2023-02-09 16:50:13
Index ¶
- Constants
- Variables
- func InitSDK(ops ...string) (idlrpc.ISDK, error)
- func TestCallerProxyCreator(trans transport.ITransport) idlrpc.IProxy
- func TestCallerStubCreator(v interface{}) idlrpc.IStub
- type ITestCaller
- type TestCallerImpl
- func (sp *TestCallerImpl) GetInfo(ctx context.Context) (ret1 string, err error)
- func (sp *TestCallerImpl) GetNickName() string
- func (sp *TestCallerImpl) GetUUID() uint64
- func (sp *TestCallerImpl) OnAfterFork(ctx context.Context) bool
- func (sp *TestCallerImpl) OnBeforeDestroy() bool
- func (sp *TestCallerImpl) OnCancel(subID string, event string) error
- func (sp *TestCallerImpl) OnSubscribe(subID string, event string, bytes []byte) error
- func (sp *TestCallerImpl) OnTick() bool
- func (sp *TestCallerImpl) SetInfo(ctx context.Context, _1 string) (err error)
- type TestCallerProxy
- func (sp *TestCallerProxy) GetInfo() (ret1 string, err error)
- func (sp *TestCallerProxy) GetSignature(methid uint32) string
- func (sp *TestCallerProxy) GetSrvName() string
- func (sp *TestCallerProxy) GetUUID() uint64
- func (sp *TestCallerProxy) IsOneWay(methodid uint32) (isoneway bool)
- func (sp *TestCallerProxy) SetInfo(_1 string) (err error)
- type TestCallerSDK
- type TestCallerStub
- func (sb *TestCallerStub) Call(ctx context.Context, methodId uint32, req []byte) (resp []byte, err error)
- func (sb *TestCallerStub) GetInfo(ctx context.Context, req []byte) (resp []byte, err error)
- func (sb *TestCallerStub) GetMultipleNum() uint32
- func (sb *TestCallerStub) GetServiceName() string
- func (sb *TestCallerStub) GetSignature(methodid uint32) string
- func (sb *TestCallerStub) GetStatus() idlrpc.ServiceStatus
- func (sb *TestCallerStub) GetUUID() idlrpc.SvcUuid
- func (sb *TestCallerStub) IsOneWay(methodid uint32) (isoneway bool)
- func (sb *TestCallerStub) OnAfterFork(ctx context.Context) bool
- func (sb *TestCallerStub) OnBeforeDestroy() bool
- func (sb *TestCallerStub) OnCancel(subID string, event string) error
- func (sb *TestCallerStub) OnSub(subID string, event string, data []byte) error
- func (sb *TestCallerStub) OnTick() bool
- func (sb *TestCallerStub) SetInfo(ctx context.Context, req []byte) (resp []byte, err error)
- func (sb *TestCallerStub) SetStatus(status idlrpc.ServiceStatus)
Constants ¶
View Source
const ( SrvUUID = 3184522100753325409 SrvName = "TestCaller" )
Variables ¶
View Source
var (
ServiceUUID uint64 = SrvUUID
)
Functions ¶
func TestCallerProxyCreator ¶
func TestCallerProxyCreator(trans transport.ITransport) idlrpc.IProxy
func TestCallerStubCreator ¶
Types ¶
type ITestCaller ¶
type TestCallerImpl ¶
type TestCallerImpl struct { }
func NewTestCaller ¶
func NewTestCaller() *TestCallerImpl
func (*TestCallerImpl) GetInfo ¶
func (sp *TestCallerImpl) GetInfo(ctx context.Context) (ret1 string, err error)
func (*TestCallerImpl) GetNickName ¶
func (sp *TestCallerImpl) GetNickName() string
func (*TestCallerImpl) GetUUID ¶
func (sp *TestCallerImpl) GetUUID() uint64
func (*TestCallerImpl) OnAfterFork ¶
func (sp *TestCallerImpl) OnAfterFork(ctx context.Context) bool
func (*TestCallerImpl) OnBeforeDestroy ¶
func (sp *TestCallerImpl) OnBeforeDestroy() bool
func (*TestCallerImpl) OnCancel ¶ added in v0.5.1
func (sp *TestCallerImpl) OnCancel(subID string, event string) error
func (*TestCallerImpl) OnSubscribe ¶ added in v0.5.1
func (sp *TestCallerImpl) OnSubscribe(subID string, event string, bytes []byte) error
func (*TestCallerImpl) OnTick ¶
func (sp *TestCallerImpl) OnTick() bool
type TestCallerProxy ¶
define stub.ProxyStub
func (*TestCallerProxy) GetInfo ¶
func (sp *TestCallerProxy) GetInfo() (ret1 string, err error)
func (*TestCallerProxy) GetSignature ¶
func (sp *TestCallerProxy) GetSignature(methid uint32) string
func (*TestCallerProxy) GetSrvName ¶
func (sp *TestCallerProxy) GetSrvName() string
func (*TestCallerProxy) IsOneWay ¶
func (sp *TestCallerProxy) IsOneWay(methodid uint32) (isoneway bool)
func (*TestCallerProxy) SetInfo ¶
func (sp *TestCallerProxy) SetInfo(_1 string) (err error)
type TestCallerSDK ¶
type TestCallerSDK struct {
// contains filtered or unexported fields
}
func (TestCallerSDK) GetNickName ¶
func (sdk TestCallerSDK) GetNickName() string
func (*TestCallerSDK) GetUuid ¶
func (sdk *TestCallerSDK) GetUuid() uint64
func (*TestCallerSDK) IsProxy ¶
func (sdk *TestCallerSDK) IsProxy() bool
type TestCallerStub ¶
type TestCallerStub struct {
// contains filtered or unexported fields
}
func NewTestCallerStub ¶
func NewTestCallerStub(srvImpl ITestCaller) *TestCallerStub
func (*TestCallerStub) GetMultipleNum ¶ added in v0.5.2
func (sb *TestCallerStub) GetMultipleNum() uint32
func (*TestCallerStub) GetServiceName ¶
func (sb *TestCallerStub) GetServiceName() string
func (*TestCallerStub) GetSignature ¶
func (sb *TestCallerStub) GetSignature(methodid uint32) string
func (*TestCallerStub) GetStatus ¶
func (sb *TestCallerStub) GetStatus() idlrpc.ServiceStatus
func (*TestCallerStub) GetUUID ¶
func (sb *TestCallerStub) GetUUID() idlrpc.SvcUuid
func (*TestCallerStub) IsOneWay ¶
func (sb *TestCallerStub) IsOneWay(methodid uint32) (isoneway bool)
func (*TestCallerStub) OnAfterFork ¶
func (sb *TestCallerStub) OnAfterFork(ctx context.Context) bool
func (*TestCallerStub) OnBeforeDestroy ¶
func (sb *TestCallerStub) OnBeforeDestroy() bool
func (*TestCallerStub) OnCancel ¶ added in v0.5.1
func (sb *TestCallerStub) OnCancel(subID string, event string) error
func (*TestCallerStub) OnSub ¶ added in v0.5.1
func (sb *TestCallerStub) OnSub(subID string, event string, data []byte) error
func (*TestCallerStub) OnTick ¶
func (sb *TestCallerStub) OnTick() bool
func (*TestCallerStub) SetStatus ¶
func (sb *TestCallerStub) SetStatus(status idlrpc.ServiceStatus)
Click to show internal directories.
Click to hide internal directories.