Documentation ¶
Index ¶
- func InitAdminJwtEndpoints(adminRouter *router.Router, deps AdminJwtEndpointDependency)
- func InitAdminLoggingEndpoints(adminRouter *router.Router, deps AdminLoggingEndpointDependency)
- func InitProbeEndpoints(rt *router.Router, deps ProbeEndpointDependency)
- func InitPublishEndpoints(channelRouter *router.Router, deps PublishEndpointDependency)
- func InitSubscriptionPollingEndpoints(channelRouter *router.Router, deps PollingEndpointDependency)
- type AdminJwtEndpointDependency
- type AdminLoggingEndpointDependency
- type PollingEndpointDependency
- type ProbeEndpointDependency
- type PublishEndpointDependency
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 ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.