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 Server ¶
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)
Click to show internal directories.
Click to hide internal directories.