package
0.0.0-20240224185630-30c29cc3f885
Repository: https://github.com/danblok/auth.git
Documentation: pkg.go.dev

# Functions

NewGRPCServer creates new GRPC server.
NewHTTPServer constructs new HTTPServer that signs and validates tokens via HTTP.
NewHTTPServerTLS constructs new HTTPServer that signs and validates tokens via HTTP securely.

# Structs

Body represents the body of a request to receive a token.
GRPCTokenServer implements TokenService via GRPC transport.
HTTPErrResponse used in responses from server when an error occurred.
HTTPServer implementation for TokenService.

# Type aliases

HTTPHandlerFunc is a helper handler func.