Documentation ¶
Index ¶
- func NewAPIRoute(services *service.Services) codegen.ServerInterface
- func NewAPIRouter(swagger *openapi3.T, services *service.Services) (http.Handler, error)
- func NewDocRouter(swagger *openapi3.T, docHTML string, docYAML string) (http.Handler, error)
- type APIRoute
- func (r *APIRoute) DeleteYskCard(ctx echo.Context, id string) error
- func (r *APIRoute) GetActionType(c echo.Context, sourceID codegen.SourceID, name codegen.EventName) error
- func (r *APIRoute) GetActionTypes(c echo.Context) error
- func (r *APIRoute) GetActionTypesBySourceID(c echo.Context, sourceID codegen.SourceID) error
- func (r *APIRoute) GetEventType(ctx echo.Context, sourceID codegen.SourceID, name codegen.EventName) error
- func (r *APIRoute) GetEventTypes(ctx echo.Context) error
- func (r *APIRoute) GetEventTypesBySourceID(ctx echo.Context, sourceID codegen.SourceID) error
- func (r *APIRoute) GetYskCard(ctx echo.Context) error
- func (r *APIRoute) PollSIO(ctx echo.Context) error
- func (r *APIRoute) PollSIO2(ctx echo.Context) error
- func (r *APIRoute) PublishEvent(ctx echo.Context, sourceID codegen.SourceID, name codegen.EventName) error
- func (r *APIRoute) RegisterActionTypes(c echo.Context) error
- func (r *APIRoute) RegisterEventTypes(ctx echo.Context) error
- func (r *APIRoute) SubscribeActionWS(c echo.Context, sourceID codegen.SourceID, ...) error
- func (r *APIRoute) SubscribeEventWS(c echo.Context, sourceID codegen.SourceID, ...) error
- func (r *APIRoute) SubscribeSIO(ctx echo.Context) error
- func (r *APIRoute) SubscribeSIO2(ctx echo.Context) error
- func (r *APIRoute) TriggerAction(c echo.Context, sourceID codegen.SourceID, name codegen.EventName) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIRoute ¶
func NewAPIRoute(services *service.Services) codegen.ServerInterface
func NewAPIRouter ¶
Types ¶
type APIRoute ¶
type APIRoute struct {
// contains filtered or unexported fields
}
func (*APIRoute) DeleteYskCard ¶
func (*APIRoute) GetActionType ¶
func (*APIRoute) GetActionTypes ¶
func (*APIRoute) GetActionTypesBySourceID ¶
func (*APIRoute) GetEventType ¶
func (*APIRoute) GetEventTypes ¶
func (*APIRoute) GetEventTypesBySourceID ¶
func (*APIRoute) GetYskCard ¶
func (*APIRoute) PollSIO2 ¶
unfortunately need to duplicate the func to support both `/socket.io` and `/socket.io/` (with a trailing slash) API endpoints
func (*APIRoute) PublishEvent ¶
func (*APIRoute) RegisterActionTypes ¶
func (*APIRoute) RegisterEventTypes ¶
func (*APIRoute) SubscribeActionWS ¶
func (*APIRoute) SubscribeEventWS ¶
func (*APIRoute) SubscribeSIO ¶
func (*APIRoute) SubscribeSIO2 ¶
unfortunately need to duplicate the func to support both `/socket.io` and `/socket.io/` (with a trailing slash) API endpoints
Source Files ¶
Click to show internal directories.
Click to hide internal directories.