api

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: BSD-2-Clause Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(
	cfg *config.Configuration,
	logger *zap.Logger,
	issuer *tokens.TokenIssuer,
	rotator *tokens.TokenRotator,
	signInService *user.SigninService,
	userService *user.Service,
	authService *authorization.Service,
	appService *application.Service,
	registry *i18n.TranslationRegistry,
	fileSystems *config.FileSystems,
	verifier *tokens.TokenVerifier,
	manageUser *manage.UserService,
	manageAuth *manage.AuthorizationService,
	manageApplication *manage.ApplicationService,
	manageRole *manage.RoleService,
	manageInviteService *manage.InviteService) (*Server, error)

func (*Server) Start

func (srv *Server) Start()

Start runs ListenAndServe on the http.Server with graceful shutdown.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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