Documentation
¶
Index ¶
- type AllEventTypes
- type AllEventTypesHandler
- type AllEvents
- type AllEventsHandler
- type AllEventsParams
- type AllSources
- type AllSourcesHandler
- type AllTokens
- type AllTokensHandler
- type CursorPaginationParams
- type CursorPaginationResult
- type EventByID
- type EventByIDHandler
- type EventType
- type EventTypeByAction
- type EventTypeByActionHandler
- type EventTypeVersion
- type Pagination
- type PaginationParams
- type SourceByID
- type SourceByIDHandler
- type UserProfile
- type UserProfileHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllEventTypes ¶
type AllEventTypes struct {
Action *string
PaginationParams PaginationParams
}
type AllEventTypesHandler ¶
type AllEventTypesHandler struct {
// contains filtered or unexported fields
}
func NewAllEventTypesHandler ¶
func NewAllEventTypesHandler(finder eventTypeFinder) AllEventTypesHandler
func (AllEventTypesHandler) Execute ¶
func (e AllEventTypesHandler) Execute(ctx context.Context, q AllEventTypes) (Pagination[EventType], error)
type AllEvents ¶
type AllEvents struct {
Params AllEventsParams
CursorPaginationParams CursorPaginationParams
}
type AllEventsHandler ¶
type AllEventsHandler struct {
// contains filtered or unexported fields
}
func NewAllEventsHandler ¶
func NewAllEventsHandler(finder eventsFinder) AllEventsHandler
func (AllEventsHandler) Execute ¶
func (e AllEventsHandler) Execute(ctx context.Context, q AllEvents) (CursorPaginationResult[domain.Event], error)
type AllEventsParams ¶
type AllSources ¶
type AllSources struct {
Name *string
Pagination PaginationParams
}
type AllSourcesHandler ¶
type AllSourcesHandler struct {
// contains filtered or unexported fields
}
func NewAllSourcesHandler ¶
func NewAllSourcesHandler(finder sourcesFinder) AllSourcesHandler
func (AllSourcesHandler) Execute ¶
func (e AllSourcesHandler) Execute(ctx context.Context, q AllSources) (Pagination[domain.Source], error)
type AllTokensHandler ¶
type AllTokensHandler struct {
// contains filtered or unexported fields
}
func NewAllTokensHandler ¶
func NewAllTokensHandler(repo domain.TokenRepository) AllTokensHandler
type CursorPaginationParams ¶
type CursorPaginationResult ¶
type EventByIDHandler ¶
type EventByIDHandler struct {
// contains filtered or unexported fields
}
func NewEventByIDHandler ¶
func NewEventByIDHandler(repo domain.EventRepository) EventByIDHandler
type EventType ¶
type EventType struct {
Action string
ShouldValidateMetadataSchema bool
Versions []EventTypeVersion
CreatedAt time.Time
}
type EventTypeByAction ¶
type EventTypeByAction struct {
Action string
}
type EventTypeByActionHandler ¶
type EventTypeByActionHandler struct {
// contains filtered or unexported fields
}
func NewEventTypeByActionHandler ¶
func NewEventTypeByActionHandler(finder eventTypeFinder) EventTypeByActionHandler
func (EventTypeByActionHandler) Execute ¶
func (e EventTypeByActionHandler) Execute(ctx context.Context, q EventTypeByAction) (EventType, error)
type EventTypeVersion ¶
type Pagination ¶
type PaginationParams ¶
type SourceByID ¶
type SourceByID struct {
ID string
}
type SourceByIDHandler ¶
type SourceByIDHandler struct {
// contains filtered or unexported fields
}
func NewSourceByIDHandler ¶
func NewSourceByIDHandler(finder sourceByIDFinder) SourceByIDHandler
func (SourceByIDHandler) Execute ¶
func (h SourceByIDHandler) Execute(ctx context.Context, q SourceByID) (*domain.Source, error)
type UserProfile ¶
type UserProfileHandler ¶
type UserProfileHandler struct {
// contains filtered or unexported fields
}
func NewUserProfileHandler ¶
func NewUserProfileHandler(repo domain.UserRepository) UserProfileHandler
func (UserProfileHandler) Execute ¶
func (h UserProfileHandler) Execute(ctx context.Context, q UserProfile) (*domain.User, error)
Click to show internal directories.
Click to hide internal directories.