notifications

package
v0.20.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LastKnownRevisionHeader     = "last_notification_revision"
	LastKnownRevisionQueryParam = "last_notification_revision"
	AgentVersionHeader          = "X-Peripli-Agent-Version"
)
View Source
const (
	MaxPingPeriodHeader = "max_ping_period"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller implements api.Controller by providing service plans API logic

func NewController

func NewController(baseCtx context.Context, repository storage.TransactionalRepository, wsSettings *ws.Settings, notificator storage.Notificator) *Controller

NewController creates new notifications controller

func (*Controller) Routes

func (c *Controller) Routes() []web.Route

Routes returns the routes for notifications

Jump to

Keyboard shortcuts

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