siteacc

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 16 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) 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 *html.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 *html.Session) error

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

func (*SiteAccounts) SitesManager

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

SitesManager returns the central sites manager instance.

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