Versions in this module Expand all Collapse all v0 v0.4.8 Dec 19, 2024 Changes in this version + const Access_tokenScopes + func GetSwagger() (swagger *openapi3.T, err error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Action struct + Name string + Properties map[string]string + SourceID string + Timestamp *time.Time + type ActionName = string + type ActionNames = []string + type ActionType struct + Name string + PropertyTypeList []PropertyType + SourceID string + type BaseResponse struct + Message *string + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type Event struct + Name string + Properties map[string]string + SourceID string + Timestamp *time.Time + Uuid *string + type EventName = string + type EventNames = []string + type EventType struct + Name string + PropertyTypeList []PropertyType + SourceID string + type GetActionTypeOK = ActionType + type GetActionTypesOK = []ActionType + type GetEventTypeOK = EventType + type GetEventTypesOK = []EventType + type PropertyType struct + Description *string + Example *string + Name string + type PublishEvent map[string]string + type PublishEventJSONBody map[string]string + type PublishEventJSONRequestBody PublishEventJSONBody + type PublishEventOK = Event + type RegisterActionTypes = []ActionType + type RegisterActionTypesJSONBody = []ActionType + type RegisterActionTypesJSONRequestBody = RegisterActionTypesJSONBody + type RegisterEventTypes = []EventType + type RegisterEventTypesJSONBody = []EventType + type RegisterEventTypesJSONRequestBody = RegisterEventTypesJSONBody + type ResponseBadRequest = BaseResponse + type ResponseConflict = BaseResponse + type ResponseGetYSKCardListOK struct + Data *YSKCardList + Message *string + type ResponseInternalServerError = BaseResponse + type ResponseNotFound = BaseResponse + type ResponseOK = BaseResponse + type ServerInterface interface + DeleteYskCard func(ctx echo.Context, id string) error + GetActionType func(ctx echo.Context, sourceId SourceID, name ActionName) error + GetActionTypes func(ctx echo.Context) error + GetActionTypesBySourceID func(ctx echo.Context, sourceId SourceID) error + GetEventType func(ctx echo.Context, sourceId SourceID, name EventName) error + GetEventTypes func(ctx echo.Context) error + GetEventTypesBySourceID func(ctx echo.Context, sourceId SourceID) error + GetYskCard func(ctx echo.Context) error + PollSIO func(ctx echo.Context) error + PollSIO2 func(ctx echo.Context) error + PublishEvent func(ctx echo.Context, sourceId SourceID, name EventName) error + RegisterActionTypes func(ctx echo.Context) error + RegisterEventTypes func(ctx echo.Context) error + SubscribeActionWS func(ctx echo.Context, sourceId SourceID, params SubscribeActionWSParams) error + SubscribeEventWS func(ctx echo.Context, sourceId SourceID, params SubscribeEventWSParams) error + SubscribeSIO func(ctx echo.Context) error + SubscribeSIO2 func(ctx echo.Context) error + TriggerAction func(ctx echo.Context, sourceId SourceID, name ActionName) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) DeleteYskCard(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetActionType(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetActionTypes(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetActionTypesBySourceID(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetEventType(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetEventTypes(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetEventTypesBySourceID(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetYskCard(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PollSIO(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PollSIO2(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PublishEvent(ctx echo.Context) error + func (w *ServerInterfaceWrapper) RegisterActionTypes(ctx echo.Context) error + func (w *ServerInterfaceWrapper) RegisterEventTypes(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SubscribeActionWS(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SubscribeEventWS(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SubscribeSIO(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SubscribeSIO2(ctx echo.Context) error + func (w *ServerInterfaceWrapper) TriggerAction(ctx echo.Context) error + type SourceID = string + type SubscribeActionWSParams struct + Names *ActionNames + type SubscribeEventWSParams struct + Names *EventNames + type TriggerAction map[string]string + type TriggerActionJSONBody map[string]string + type TriggerActionJSONRequestBody TriggerActionJSONBody + type TriggerActionOK = Action + type YSKCard struct + CardType YSKCardCardType + Content YSKCardContent + Id string + RenderType YSKCardRenderType + type YSKCardCardType string + const YSKCardCardTypeLongNotice + const YSKCardCardTypeShortNotice + const YSKCardCardTypeTask + type YSKCardContent struct + BodyIconWithText *YSKCardIconWithText + BodyList *[]YSKCardListItem + BodyProgress *YSKCardProgress + FooterActions *[]YSKCardFooterAction + TitleIcon YSKCardIcon + TitleText string + type YSKCardFooterAction struct + MessageBus YSKCardMessageBusAction + Side string + Style string + Text string + type YSKCardIcon = string + type YSKCardIconWithText struct + Description string + Icon YSKCardIcon + type YSKCardList = []YSKCard + type YSKCardListItem struct + Description string + Icon YSKCardIcon + RightText string + type YSKCardMessageBusAction struct + Key string + Payload string + type YSKCardProgress struct + Label string + Progress int + type YSKCardRenderType string + const YSKCardRenderTypeIconTextNotice + const YSKCardRenderTypeListNotice + const YSKCardRenderTypeMarkdownNotice + const YSKCardRenderTypeTask