Documentation ¶
Overview ¶
Package adminf comment This file was generated by tars2go 1.1.5 Generated from AdminF.tars
Index ¶
- type AdminF
- func (_obj *AdminF) Dispatch(tarsCtx context.Context, _val interface{}, tarsReq *requestf.RequestPacket, ...) (err error)
- func (_obj *AdminF) Notify(command string, _opt ...map[string]string) (ret string, err error)
- func (_obj *AdminF) NotifyOneWayWithContext(tarsCtx context.Context, command string, _opt ...map[string]string) (ret string, err error)
- func (_obj *AdminF) NotifyWithContext(tarsCtx context.Context, command string, _opt ...map[string]string) (ret string, err error)
- func (_obj *AdminF) SetServant(s m.Servant)
- func (_obj *AdminF) Shutdown(_opt ...map[string]string) (err error)
- func (_obj *AdminF) ShutdownOneWayWithContext(tarsCtx context.Context, _opt ...map[string]string) (err error)
- func (_obj *AdminF) ShutdownWithContext(tarsCtx context.Context, _opt ...map[string]string) (err error)
- func (_obj *AdminF) TarsSetProtocol(p m.Protocol)
- func (_obj *AdminF) TarsSetTimeout(t int)
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(tarsCtx context.Context, _val interface{}, tarsReq *requestf.RequestPacket, tarsResp *requestf.ResponsePacket, _withContext bool) (err error)
Dispatch is used to call the server side implement for the method defined in the tars file. _withContext shows using context or not.
func (*AdminF) Notify ¶
Notify is the proxy function for the method defined in the tars file, with the context
func (*AdminF) NotifyOneWayWithContext ¶ added in v1.2.0
func (_obj *AdminF) NotifyOneWayWithContext(tarsCtx context.Context, command string, _opt ...map[string]string) (ret string, err error)
NotifyOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*AdminF) NotifyWithContext ¶
func (_obj *AdminF) NotifyWithContext(tarsCtx context.Context, command string, _opt ...map[string]string) (ret string, err error)
NotifyWithContext is the proxy function for the method defined in the tars 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 tars file, with the context
func (*AdminF) ShutdownOneWayWithContext ¶ added in v1.2.0
func (_obj *AdminF) ShutdownOneWayWithContext(tarsCtx context.Context, _opt ...map[string]string) (err error)
ShutdownOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*AdminF) ShutdownWithContext ¶
func (_obj *AdminF) ShutdownWithContext(tarsCtx context.Context, _opt ...map[string]string) (err error)
ShutdownWithContext is the proxy function for the method defined in the tars file, with the context
func (*AdminF) TarsSetProtocol ¶ added in v1.2.0
TarsSetProtocol sets the protocol for the servant.
func (*AdminF) TarsSetTimeout ¶
TarsSetTimeout sets the timeout for the servant which is in ms.