Documentation
¶
Overview ¶
Package adminf comment This file war generated by tars2go 1.1 Generated from AdminF.tars
Index ¶
- type AdminF
- func (_obj *AdminF) Dispatch(ctx context.Context, _val interface{}, req *requestf.RequestPacket, ...) (err error)
- func (_obj *AdminF) Notify(Command string, _opt ...map[string]string) (ret string, err error)
- func (_obj *AdminF) NotifyWithContext(ctx 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) ShutdownWithContext(ctx context.Context, _opt ...map[string]string) (err error)
- 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(ctx context.Context, _val interface{}, req *requestf.RequestPacket, resp *requestf.ResponsePacket, withContext bool) (err error)
Dispatch is used to call the server side implemnet 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) NotifyWithContext ¶
func (_obj *AdminF) NotifyWithContext(ctx 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) ShutdownWithContext ¶
ShutdownWithContext is the proxy function for the method defined in the tars file, with the context
func (*AdminF) TarsSetTimeout ¶
TarsSetTimeout sets the timeout for the servant which is in ms.