app

package
v0.0.0-...-a11f1b2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServer

type AuthServer interface {
	Auth() http.HandlerFunc
	Register() http.HandlerFunc
}

type Builder

type Builder interface {
	Build() *Server
}

type Server

type Server struct {
	*http.Server
	// contains filtered or unexported fields
}

func (*Server) Auth

func (s *Server) Auth() http.HandlerFunc

func (*Server) Register

func (s *Server) Register() http.HandlerFunc

func (*Server) SessionCheck

func (s *Server) SessionCheck(next http.HandlerFunc) http.HandlerFunc

type ServerBuilder

type ServerBuilder struct {
	Server *Server
}

func (*ServerBuilder) Build

func (b *ServerBuilder) Build() *Server

func (*ServerBuilder) ConfigureIdentifier

func (b *ServerBuilder) ConfigureIdentifier(identifier data.Identifier)

func (*ServerBuilder) ConfigureRegistrar

func (b *ServerBuilder) ConfigureRegistrar(registrar data.Registrar)

func (*ServerBuilder) ConfigureServer

func (b *ServerBuilder) ConfigureServer(s *http.Server)

func (*ServerBuilder) ConfigureSession

func (b *ServerBuilder) ConfigureSession(s session.Session)

Jump to

Keyboard shortcuts

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