Documentation
¶
Overview ¶
Package queryf comment This file was generated by tars2go 1.1.5 Generated from QueryF.tars
Index ¶
- type QueryF
- func (_obj *QueryF) Dispatch(tarsCtx context.Context, _val interface{}, tarsReq *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) FindObjectById4AllOneWayWithContext(tarsCtx context.Context, id string, activeEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectById4AllWithContext(tarsCtx 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) FindObjectById4AnyOneWayWithContext(tarsCtx context.Context, id string, activeEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectById4AnyWithContext(tarsCtx 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) FindObjectByIdInSameGroupOneWayWithContext(tarsCtx context.Context, id string, activeEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameGroupWithContext(tarsCtx 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) FindObjectByIdInSameSetOneWayWithContext(tarsCtx context.Context, id string, setId string, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameSetWithContext(tarsCtx context.Context, id string, setId string, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameStation(id string, sStation string, activeEp *[]endpointf.EndpointF, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameStationOneWayWithContext(tarsCtx context.Context, id string, sStation string, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdInSameStationWithContext(tarsCtx context.Context, id string, sStation string, ...) (ret int32, err error)
- func (_obj *QueryF) FindObjectByIdOneWayWithContext(tarsCtx context.Context, id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
- func (_obj *QueryF) FindObjectByIdWithContext(tarsCtx context.Context, id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
- func (_obj *QueryF) SetServant(s m.Servant)
- func (_obj *QueryF) TarsSetProtocol(p m.Protocol)
- 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(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 (*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) FindObjectById4AllOneWayWithContext ¶ added in v1.2.0
func (_obj *QueryF) FindObjectById4AllOneWayWithContext(tarsCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectById4AllOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectById4AllWithContext ¶
func (_obj *QueryF) FindObjectById4AllWithContext(tarsCtx 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) FindObjectById4AnyOneWayWithContext ¶ added in v1.2.0
func (_obj *QueryF) FindObjectById4AnyOneWayWithContext(tarsCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectById4AnyOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectById4AnyWithContext ¶
func (_obj *QueryF) FindObjectById4AnyWithContext(tarsCtx 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) FindObjectByIdInSameGroupOneWayWithContext ¶ added in v1.2.0
func (_obj *QueryF) FindObjectByIdInSameGroupOneWayWithContext(tarsCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameGroupOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameGroupWithContext ¶
func (_obj *QueryF) FindObjectByIdInSameGroupWithContext(tarsCtx 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) FindObjectByIdInSameSetOneWayWithContext ¶ added in v1.2.0
func (_obj *QueryF) FindObjectByIdInSameSetOneWayWithContext(tarsCtx context.Context, id string, setId string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameSetOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameSetWithContext ¶
func (_obj *QueryF) FindObjectByIdInSameSetWithContext(tarsCtx 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) FindObjectByIdInSameStationOneWayWithContext ¶ added in v1.2.0
func (_obj *QueryF) FindObjectByIdInSameStationOneWayWithContext(tarsCtx context.Context, id string, sStation string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, _opt ...map[string]string) (ret int32, err error)
FindObjectByIdInSameStationOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdInSameStationWithContext ¶
func (_obj *QueryF) FindObjectByIdInSameStationWithContext(tarsCtx 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) FindObjectByIdOneWayWithContext ¶ added in v1.2.0
func (_obj *QueryF) FindObjectByIdOneWayWithContext(tarsCtx context.Context, id string, _opt ...map[string]string) (ret []endpointf.EndpointF, err error)
FindObjectByIdOneWayWithContext is the proxy function for the method defined in the tars file, with the context
func (*QueryF) FindObjectByIdWithContext ¶
func (_obj *QueryF) FindObjectByIdWithContext(tarsCtx 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) TarsSetProtocol ¶ added in v1.2.0
TarsSetProtocol sets the protocol for the servant.
func (*QueryF) TarsSetTimeout ¶
TarsSetTimeout sets the timeout for the servant which is in ms.