Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthenticationHeaderKey = "authentication" UsernameKey = "username" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { AmqpMiddleware(*config.Config, *slog.Logger) amqp.Middleware AuthenticationUnaryServerInterceptor() func(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp any, err error) AnyAccountTypeAuthenticationFunc(ctx context.Context, token string) (context.Context, error) StudentAccountTypeAuthenticationFunc(ctx context.Context, token string) (context.Context, error) TeacherAccountTypeAuthenticationFunc(ctx context.Context, token string) (context.Context, error) }
Click to show internal directories.
Click to hide internal directories.