helper_test

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUserTestToken

func GenerateUserTestToken(h *handler.Handler, t *testing.T) (string, *identity.JWTCustomClaims, error)

GenerateUserTestToken generate user test token - helper test

func NewConfig

func NewConfig(h *handler.Handler) (*config.Config, *viper.Viper, error)

NewConfig new config - helper test

func NewHandler

func NewHandler() *handler.Handler

NewHandler new handler - helper test

Types

This section is empty.

Jump to

Keyboard shortcuts

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