Documentation
¶
Index ¶
- Variables
- type FxArgs
- type Interface
- type MenuID
- type Service
- func (service *Service) DeleteOne(ctx context.Context, id int) (*domain.Embed, error)
- func (service *Service) HandlerAttachments(ctx context.Context, id int, guildID, authorID string, ...) (*domain.Embed, error)
- func (service *Service) HandlerMessageContent(ctx context.Context, id int, guildID, authorID, content string) (*domain.Embed, error)
- func (service *Service) ObtainAll(ctx context.Context, guildID, authorID string) ([]domain.Embed, error)
- func (service *Service) ObtainOne(ctx context.Context, id int) (*domain.Embed, error)
- func (service *Service) UpsertOne(ctx context.Context, embed domain.Embed) (*domain.Embed, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
ObtainOne(ctx context.Context, id int) (*domain.Embed, error)
DeleteOne(ctx context.Context, id int) (*domain.Embed, error)
UpsertOne(ctx context.Context, embed domain.Embed) (*domain.Embed, error)
ObtainAll(ctx context.Context, guildID, authorID string) ([]domain.Embed, error)
HandlerMessageContent(ctx context.Context, id int, guildID, authorID, content string) (*domain.Embed, error)
HandlerAttachments(ctx context.Context, id int, guildID, authorID string, message messages.Attachment) (*domain.Embed, error)
}
Click to show internal directories.
Click to hide internal directories.