Documentation ¶
Index ¶
- Constants
- func HttpRedirectHandler(tls config.Tls) echo.HandlerFunc
- func IndexHandler(code int) echo.HandlerFunc
- func KeyHandler(keys *config.ServerKeys) echo.HandlerFunc
- func Version(c echo.Context) error
- type AuthenticationHandlers
- type CreatePeerHandler
- type NoiseHandlers
- type OfflineTimers
- type PollNetMapHandler
- type Reaper
- type RegistrationHandlers
- type Selector
Constants ¶
View Source
const (
NoiseCapabilityVersion = 28
)
Variables ¶
This section is empty.
Functions ¶
func HttpRedirectHandler ¶
func IndexHandler ¶
func IndexHandler(code int) echo.HandlerFunc
func KeyHandler ¶
func KeyHandler(keys *config.ServerKeys) echo.HandlerFunc
Types ¶
type AuthenticationHandlers ¶
type AuthenticationHandlers struct {
// contains filtered or unexported fields
}
func NewAuthenticationHandlers ¶
func NewAuthenticationHandlers( config *config.Config, repository domain.Repository, pendingMachineRegistrationRequests *cache.Cache) *AuthenticationHandlers
func (*AuthenticationHandlers) Error ¶
func (h *AuthenticationHandlers) Error(c echo.Context) error
func (*AuthenticationHandlers) StartAuth ¶
func (h *AuthenticationHandlers) StartAuth(c echo.Context) error
func (*AuthenticationHandlers) Success ¶
func (h *AuthenticationHandlers) Success(c echo.Context) error
type CreatePeerHandler ¶
type CreatePeerHandler func(p key.MachinePublic) http.Handler
type NoiseHandlers ¶
type NoiseHandlers struct {
// contains filtered or unexported fields
}
func NewNoiseHandlers ¶
func NewNoiseHandlers(controlKey key.MachinePrivate, createPeerHandler CreatePeerHandler) *NoiseHandlers
func (*NoiseHandlers) Upgrade ¶
func (h *NoiseHandlers) Upgrade(c echo.Context) error
type OfflineTimers ¶
type OfflineTimers struct {
// contains filtered or unexported fields
}
func NewOfflineTimers ¶
func NewOfflineTimers(repository domain.Repository, brokers *broker.BrokerPool) *OfflineTimers
func (*OfflineTimers) Start ¶
func (o *OfflineTimers) Start()
type PollNetMapHandler ¶
type PollNetMapHandler struct {
// contains filtered or unexported fields
}
func NewPollNetMapHandler ¶
func NewPollNetMapHandler( createBinder bind.Factory, brokers *broker.BrokerPool, repository domain.Repository, offlineTimers *OfflineTimers) *PollNetMapHandler
func (*PollNetMapHandler) PollNetMap ¶
func (h *PollNetMapHandler) PollNetMap(c echo.Context) error
type Reaper ¶
type Reaper struct {
// contains filtered or unexported fields
}
func NewReaper ¶
func NewReaper(brokers *broker.BrokerPool, repository domain.Repository) *Reaper
type RegistrationHandlers ¶
type RegistrationHandlers struct {
// contains filtered or unexported fields
}
func NewRegistrationHandlers ¶
func NewRegistrationHandlers( createBinder bind.Factory, config *config.Config, repository domain.Repository, pendingMachineRegistrationRequests *cache.Cache) *RegistrationHandlers
func (*RegistrationHandlers) Register ¶
func (h *RegistrationHandlers) Register(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.