models

package
v0.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloopyMeta

type BloopyMeta struct {
	Id        uuid.UUID
	CreatedAt time.Time
	OwnerRef  []string
}

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

type TypingIndicatorChange struct {
	IsTyping  bool
	ChannelID string
}

type User

type User struct {
	ID            string `json:"id,omitempty"`
	DiscordId     string `json:"discordid"`
	PlexId        string `json:"plexid,omitempty"`
	BloopnetId    string `json:"bloopnetid"`
	AuthentikPKID string `json:"authentikid"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL