authena

package
v0.0.0-...-e84e3a5 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthenaAppGraphSet = wire.NewSet(
	InitRouter,
	NewHttpServer,
	NewAuthenaApp,
)
View Source
var InitRouter = wire.NewSet(
	NewRoutes,
	NewRouter,
)

Functions

func NewRouter

func NewRouter(routes []named_route.NamedRoute) (http.Handler, error)

func NewRoutes

func NewRoutes() []named_route.NamedRoute

Types

type AuthenaApp

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

func NewAuthenaApp

func NewAuthenaApp(httpServer *HTTPServer) *AuthenaApp

func (*AuthenaApp) Start

func (self *AuthenaApp) Start(ctx context.Context) error

func (*AuthenaApp) Stop

func (self *AuthenaApp) Stop(ctx context.Context) error

type HTTPServer

type HTTPServer struct {
	*http.Server
}

func NewHttpServer

func NewHttpServer(router http.Handler) (*HTTPServer, error)

Jump to

Keyboard shortcuts

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