Documentation
¶
Index ¶
- func ListenerFromCtx(ctx context.Context) int
- func ListenerToCtx(ctx context.Context, id int) context.Context
- func OperatorFromCtx(ctx context.Context) string
- func OperatorToCtx(ctx context.Context, u string) context.Context
- func StreamServerInterceptorListener(db *ent.ListenerClient) grpc.StreamServerInterceptor
- func StreamServerInterceptorManagement(t string) grpc.StreamServerInterceptor
- func StreamServerInterceptorOperator(db *ent.OperatorClient) grpc.StreamServerInterceptor
- func UnaryServerInterceptorListener(db *ent.ListenerClient) grpc.UnaryServerInterceptor
- func UnaryServerInterceptorManagement(t string) grpc.UnaryServerInterceptor
- func UnaryServerInterceptorOperator(db *ent.OperatorClient) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenerFromCtx ¶
func OperatorFromCtx ¶
func StreamServerInterceptorListener ¶
func StreamServerInterceptorListener(db *ent.ListenerClient) grpc.StreamServerInterceptor
func StreamServerInterceptorManagement ¶
func StreamServerInterceptorManagement(t string) grpc.StreamServerInterceptor
StreamServerInterceptorManagement мидлваря для аутентификации запросов в management GRPC сервер
func StreamServerInterceptorOperator ¶
func StreamServerInterceptorOperator(db *ent.OperatorClient) grpc.StreamServerInterceptor
func UnaryServerInterceptorListener ¶
func UnaryServerInterceptorListener(db *ent.ListenerClient) grpc.UnaryServerInterceptor
func UnaryServerInterceptorManagement ¶
func UnaryServerInterceptorManagement(t string) grpc.UnaryServerInterceptor
UnaryServerInterceptorManagement мидлваря для аутентификации запросов в management GRPC сервер
func UnaryServerInterceptorOperator ¶
func UnaryServerInterceptorOperator(db *ent.OperatorClient) grpc.UnaryServerInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.