Documentation ¶
Overview ¶
Package adminf comment This file was generated by ksf2go 1.1.7 Generated from AdminF.ksf
Index ¶
- type AdminF
- func (obj *AdminF) Dispatch(ksfCtx context.Context, val interface{}, ksfReq *requestf.RequestPacket, ...) (err error)
- func (obj *AdminF) KsfSetProtocol(p m.Protocol)
- func (obj *AdminF) KsfSetTimeout(timeout int)
- func (obj *AdminF) Notify(command string, opts ...map[string]string) (ret string, err error)
- func (obj *AdminF) NotifyOneWayWithContext(ksfCtx context.Context, command string, opts ...map[string]string) (ret string, err error)
- func (obj *AdminF) NotifyWithContext(ksfCtx context.Context, command string, opts ...map[string]string) (ret string, err error)
- func (obj *AdminF) SetServant(servant m.Servant)
- func (obj *AdminF) Shutdown(opts ...map[string]string) (err error)
- func (obj *AdminF) ShutdownOneWayWithContext(ksfCtx context.Context, opts ...map[string]string) (err error)
- func (obj *AdminF) ShutdownWithContext(ksfCtx context.Context, opts ...map[string]string) (err error)
- type AdminFServant
- type AdminFServantWithContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminF ¶
type AdminF struct {
// contains filtered or unexported fields
}
AdminF struct
func (*AdminF) Dispatch ¶
func (obj *AdminF) Dispatch(ksfCtx context.Context, val interface{}, ksfReq *requestf.RequestPacket, ksfResp *requestf.ResponsePacket, withContext bool) (err error)
Dispatch is used to call the server side implement for the method defined in the ksf file. withContext shows using context or not.
func (*AdminF) KsfSetProtocol ¶
KsfSetProtocol sets the protocol for the servant.
func (*AdminF) KsfSetTimeout ¶
KsfSetTimeout sets the timeout for the servant which is in ms.
func (*AdminF) Notify ¶
Notify is the proxy function for the method defined in the ksf file, with the context
func (*AdminF) NotifyOneWayWithContext ¶
func (obj *AdminF) NotifyOneWayWithContext(ksfCtx context.Context, command string, opts ...map[string]string) (ret string, err error)
NotifyOneWayWithContext is the proxy function for the method defined in the ksf file, with the context
func (*AdminF) NotifyWithContext ¶
func (obj *AdminF) NotifyWithContext(ksfCtx context.Context, command string, opts ...map[string]string) (ret string, err error)
NotifyWithContext is the proxy function for the method defined in the ksf file, with the context
func (*AdminF) SetServant ¶
SetServant sets servant for the service.
func (*AdminF) Shutdown ¶
Shutdown is the proxy function for the method defined in the ksf file, with the context