twirp

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 7 Imported by: 0

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

func ToTwirpError(e error, m string) error

ToTwirpError converts an error to a Twirp response error

Types

This section is empty.

Jump to

Keyboard shortcuts

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