siteacc

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SiteAccounts

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

SiteAccounts represents the main Site Accounts service object.

func New

func New(conf *config.Configuration, log *zerolog.Logger) (*SiteAccounts, error)

New returns a new Site Accounts service instance.

func (*SiteAccounts) AccountsManager

func (siteacc *SiteAccounts) AccountsManager() *manager.AccountsManager

AccountsManager returns the central accounts manager instance.

func (*SiteAccounts) AlertsDispatcher

func (siteacc *SiteAccounts) AlertsDispatcher() *alerting.Dispatcher

AlertsDispatcher returns the central alerts dispatcher instance.

func (*SiteAccounts) GetPublicEndpoints

func (siteacc *SiteAccounts) GetPublicEndpoints() []string

GetPublicEndpoints returns a list of all public endpoints.

func (*SiteAccounts) OperatorsManager added in v0.0.14

func (siteacc *SiteAccounts) OperatorsManager() *manager.OperatorsManager

OperatorsManager returns the central operators manager instance.

func (*SiteAccounts) RequestHandler

func (siteacc *SiteAccounts) RequestHandler() http.Handler

RequestHandler returns the HTTP request handler of the service.

func (*SiteAccounts) ShowAccountPanel

func (siteacc *SiteAccounts) ShowAccountPanel(w http.ResponseWriter, r *http.Request, session *acchtml.Session) error

ShowAccountPanel writes the account panel HTTP output directly to the response writer.

func (*SiteAccounts) ShowAdministrationPanel

func (siteacc *SiteAccounts) ShowAdministrationPanel(w http.ResponseWriter, r *http.Request, session *acchtml.Session) error

ShowAdministrationPanel writes the administration panel HTTP output directly to the response writer.

func (*SiteAccounts) UsersManager

func (siteacc *SiteAccounts) UsersManager() *manager.UsersManager

UsersManager returns the central users manager instance.

Jump to

Keyboard shortcuts

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