Documentation ¶
Overview ¶
Package queryf comment This file war generated by tars2go 1.1 Generated from QueryF.tars
Index ¶
- type QueryF
- func (_obj *QueryF) Dispatch(ctx context.Context, _val interface{}, req *requestf.RequestPacket, ...) (err error)
- func (_obj *QueryF) FindObjectById(Id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
- func (_obj *QueryF) FindObjectById4All(Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectById4AllWithContext(ctx context.Context, Id string, ActiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectById4Any(Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectById4AnyWithContext(ctx context.Context, Id string, ActiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameGroup(Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameGroupWithContext(ctx context.Context, Id string, ActiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameSet(Id string, SetId string, ActiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameSetWithContext(ctx context.Context, Id string, SetId string, ActiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameStation(Id string, SStation string, ActiveEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameStationWithContext(ctx context.Context, Id string, SStation string, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdWithContext(ctx context.Context, Id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
- func (_obj *QueryF) SetServant(s m.Servant)
- func (_obj *QueryF) TarsSetTimeout(t int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryF ¶
type QueryF struct {
// contains filtered or unexported fields
}
QueryF struct
func (*QueryF) Dispatch ¶
func (_obj *QueryF) 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 (*QueryF) FindObjectById ¶
func (_obj *QueryF) FindObjectById(Id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
FindObjectById is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectById4All ¶
func (_obj *QueryF) FindObjectById4All(Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectById4All is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectById4AllWithContext ¶
func (_obj *QueryF) FindObjectById4AllWithContext(ctx context.Context, Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectById4AllWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectById4Any ¶
func (_obj *QueryF) FindObjectById4Any(Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectById4Any is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectById4AnyWithContext ¶
func (_obj *QueryF) FindObjectById4AnyWithContext(ctx context.Context, Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectById4AnyWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameGroup ¶
func (_obj *QueryF) FindObjectByIdInSameGroup(Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameGroup is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameGroupWithContext ¶
func (_obj *QueryF) FindObjectByIdInSameGroupWithContext(ctx context.Context, Id string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameGroupWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameSet ¶
func (_obj *QueryF) FindObjectByIdInSameSet(Id string, SetId string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameSet is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameSetWithContext ¶
func (_obj *QueryF) FindObjectByIdInSameSetWithContext(ctx context.Context, Id string, SetId string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameSetWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameStation ¶
func (_obj *QueryF) FindObjectByIdInSameStation(Id string, SStation string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameStation is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameStationWithContext ¶
func (_obj *QueryF) FindObjectByIdInSameStationWithContext(ctx context.Context, Id string, SStation string, ActiveEp *[]endpointf.EndpointF, InactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameStationWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdWithContext ¶
func (_obj *QueryF) FindObjectByIdWithContext(ctx context.Context, Id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
FindObjectByIdWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) SetServant ¶
SetServant sets servant for the service.
func (*QueryF) TarsSetTimeout ¶
TarsSetTimeout sets the timeout for the servant which is in ms.