endpoints

package
v0.0.0-...-5abe684 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAdminJwtEndpoints

func InitAdminJwtEndpoints(adminRouter *router.Router, deps AdminJwtEndpointDependency)

InitAdminJwtEndpoints registers endpoints

func InitAdminLoggingEndpoints

func InitAdminLoggingEndpoints(adminRouter *router.Router, deps AdminLoggingEndpointDependency)

InitAdminLoggingEndpoints registers endpoints

func InitProbeEndpoints

func InitProbeEndpoints(rt *router.Router, deps ProbeEndpointDependency)

InitProbeEndpoints registers endpoints

func InitPublishEndpoints

func InitPublishEndpoints(channelRouter *router.Router, deps PublishEndpointDependency)

InitPublishEndpoints registers endpoints

func InitSubscriptionPollingEndpoints

func InitSubscriptionPollingEndpoints(channelRouter *router.Router, deps PollingEndpointDependency)

InitSubscriptionPollingEndpoints registers endpoints

Types

type AdminJwtEndpointDependency

type AdminJwtEndpointDependency interface {
	GetStorage() domain.Storage
	GetChannelProvider() domain.ChannelProvider
}

AdminJwtEndpointDependency is to inject required objects to the endpoint

type AdminLoggingEndpointDependency

type AdminLoggingEndpointDependency interface {
	GetLogFilter() *logger.Filter
}

AdminLoggingEndpointDependency is to inject required objects to the endpoint

type PollingEndpointDependency

type PollingEndpointDependency interface {
	GetServerClose() lifecycle.ServerClose
	GetStorage() domain.Storage

	GetLongPollingMaxTimeout() domain.Duration
}

PollingEndpointDependency is to inject required objects to the endpoint

type ProbeEndpointDependency

type ProbeEndpointDependency interface {
	GetStorage() domain.Storage
}

ProbeEndpointDependency is to inject required objects to the endpoint

type PublishEndpointDependency

type PublishEndpointDependency interface {
	GetStorage() domain.Storage
	GetChannelProvider() domain.ChannelProvider
}

PublishEndpointDependency is to inject required objects to the endpoint

Jump to

Keyboard shortcuts

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