setup

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 28 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CreateEchoServer added in v0.2.0

func CreateEchoServer() (*echo.Echo, error)

func NewEchoServer added in v0.2.0

func NewEchoServer(serverConfig *config.ServerConfig, templates *AppTemplates,
	manager oidcsdk.IManager, handler *handlers.LoginHandler) *echo.Echo

func NewGormDB added in v0.2.0

func NewGormDB(config *config.DBConfig) (*gorm.DB, error)

func RenderConsentPage

func RenderConsentPage(writer http.ResponseWriter, r *http.Request)

func RenderLoginPage

func RenderLoginPage(writer http.ResponseWriter, r *http.Request)

func StaticFromRice added in v0.3.0

func StaticFromRice(inner echo.HandlerFunc) echo.HandlerFunc

Types

type AppTemplates

type AppTemplates struct {
	// contains filtered or unexported fields
}

func NewAppTemplates

func NewAppTemplates() *AppTemplates

func (*AppTemplates) Render

func (t *AppTemplates) Render(w io.Writer, name string, data interface{}, _ echo.Context) error

type Crypto added in v0.2.0

type Crypto struct{}

func NewCrypto added in v0.2.0

func NewCrypto() *Crypto

func (*Crypto) DecryptText added in v0.2.0

func (*Crypto) DecryptText(ctx context.Context, cypherText string) (text string, err error)

func (*Crypto) EncryptText added in v0.2.0

func (*Crypto) EncryptText(ctx context.Context, text string) (cypherText string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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