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
Click to show internal directories.
Click to hide internal directories.