grpcauth

package
v0.0.0-...-2b4f063 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenerFromCtx

func ListenerFromCtx(ctx context.Context) int

func ListenerToCtx

func ListenerToCtx(ctx context.Context, id int) context.Context

func OperatorFromCtx

func OperatorFromCtx(ctx context.Context) string

func OperatorToCtx

func OperatorToCtx(ctx context.Context, u string) context.Context

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL