Documentation
¶
Index ¶
- func CallServiceMethod[TReq proto.Message, TRes proto.Message, Req interface{}, Res interface{}](ctx context.Context, req Req, allowAllNilFields bool, ...) (res Res, err error)
- func NewInvocationProxy[TReq proto.Message, TRes proto.Message](serviceName, methodName string, fn types.MethodFunc[TReq, TRes]) types.MethodFunc[TReq, TRes]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallServiceMethod ¶
func NewInvocationProxy ¶
func NewInvocationProxy[TReq proto.Message, TRes proto.Message](serviceName, methodName string, fn types.MethodFunc[TReq, TRes]) types.MethodFunc[TReq, TRes]
NewInvocationProxy is a proxy function which wrap the original function with interceptors todo customize interceptors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.