Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallbackInterceptor ¶
func CallbackInterceptor(logger *zerolog.Logger, onCallback func(ctx context.Context) error) grpc.UnaryServerInterceptor
CallbackInterceptor creates an interceptor that can receive callbacks from handlers
func TriggerCallback ¶
func WithCallback ¶
func WithCallback(ctx context.Context, callback CallbackFunc) context.Context
Types ¶
type CallbackFunc ¶
Click to show internal directories.
Click to hide internal directories.