Documentation
¶
Index ¶
Constants ¶
View Source
const EnvPrefix string = "POSTAL_SERVER"
EnvPrefix for environment variables
Variables ¶
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func Middleware ¶
func Middleware(tokenVerificationFunc TokenVerificationFunc) gin.HandlerFunc
func MiddlewareWithStaticToken ¶
func MiddlewareWithStaticToken(token string) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.