Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JWTHook ¶ added in v0.3.0
func JWTHook(a auth.Agent) *twirp.ServerHooks
JWTHook is the twirp server hook to validate JWTs
func LoggingHooks ¶
func LoggingHooks() *twirp.ServerHooks
LoggingHooks creates server hooks which log on requests and responses automatically
func ToTwirpError ¶
ToTwirpError converts an error to a Twirp response error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.