Documentation
¶
Index ¶
- type BloopyMeta
- type BloopyService
- type BloopyServiceBroker
- type BookSearchRequest
- type ClientGenerator
- func (s *ClientGenerator) GetArgs() map[string]interface{}
- func (s *ClientGenerator) GetName() string
- func (s *ClientGenerator) GetProviderName() string
- func (s *ClientGenerator) SetArgs(args map[string]interface{})
- func (s *ClientGenerator) SetName(name string)
- func (s *ClientGenerator) SetProviderName(providerName string)
- func (s *ClientGenerator) SetVerbose(verbose bool)
- type DiscordAppCommand
- type DiscordMessageSendRequest
- type ServiceRegistry
- type TypingIndicatorChange
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BloopyMeta ¶
func NewBloopyMeta ¶
func NewBloopyMeta(owners ...string) BloopyMeta
type BloopyService ¶
type BloopyService interface { GetClient() interface{} Verify() bool }
type BloopyServiceBroker ¶
type BloopyServiceBroker struct {
// contains filtered or unexported fields
}
func NewBloopyServiceBroker ¶
func NewBloopyServiceBroker() *BloopyServiceBroker
func (*BloopyServiceBroker) AddService ¶
func (bsb *BloopyServiceBroker) AddService(bloopyService BloopyService) error
func (*BloopyServiceBroker) GetService ¶
func (bsb *BloopyServiceBroker) GetService(svcName string) (*BloopyService, bool)
func (*BloopyServiceBroker) Size ¶
func (bsb *BloopyServiceBroker) Size() int
type BookSearchRequest ¶
type BookSearchRequest struct { // Isbn is a 10 or 13 digit ISBN ISBN string `json:"isbn,omitempty"` // Title is the title of the book Title string `json:"title,omitempty"` // Author is the author of the book Author string `json:"author,omitempty"` // Publisher is the publisher of the book Publisher string `json:"publisher,omitempty"` // Year is the year the book was published Year int `json:"year,omitempty"` // TextSnippet is a free-form text search TextSnippet string `json:"text,omitempty"` }
type ClientGenerator ¶
type ClientGenerator struct { Name string ProviderName string Args map[string]interface{} Verbose bool }
func (*ClientGenerator) GetArgs ¶
func (s *ClientGenerator) GetArgs() map[string]interface{}
func (*ClientGenerator) GetName ¶
func (s *ClientGenerator) GetName() string
func (*ClientGenerator) GetProviderName ¶
func (s *ClientGenerator) GetProviderName() string
func (*ClientGenerator) SetArgs ¶
func (s *ClientGenerator) SetArgs(args map[string]interface{})
func (*ClientGenerator) SetName ¶
func (s *ClientGenerator) SetName(name string)
func (*ClientGenerator) SetProviderName ¶
func (s *ClientGenerator) SetProviderName(providerName string)
func (*ClientGenerator) SetVerbose ¶
func (s *ClientGenerator) SetVerbose(verbose bool)
type DiscordAppCommand ¶ added in v0.4.7
type DiscordAppCommand interface { GetAppCommand() *discordgo.ApplicationCommand GetAppCommandHandler() func(s *discordgo.Session, i *discordgo.InteractionCreate) GetMessageComponentHandlers() map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate) }
type DiscordMessageSendRequest ¶
type DiscordMessageSendRequest struct { EventID uuid.UUID ChannelID string MessageComplex *discordgo.MessageSend }
type ServiceRegistry ¶
type ServiceRegistry interface { AddService(bloopyService BloopyService) error GetService(svcName string) (*BloopyService, bool) Size() int }
type TypingIndicatorChange ¶
Click to show internal directories.
Click to hide internal directories.