Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelService ¶
type GuildService ¶
type GuildService interface { Guild(id string) (Guild, error) CreateGuild(g Guild) (Guild, error) DeleteGuild(g Guild) error UpdateGuild(g Guild) (Guild, error) GuildRoles(g Guild) ([]Role, error) CreateRole(r Role) (Role, error) Role(id string) (Role, error) UpdateRole(r Role) (Role, error) DeleteRole(r Role) error GetOrCreateGuild(id string) (Guild, error) CreateOrUpdateRole(r Role) (Role, error) }
type MessageService ¶
type PatreonService ¶
type PatreonService interface { PatreonCreatorByID(id int) (PatreonCreator, error) PatreonCreatorByName(name string, guild Guild) (PatreonCreator, error) CreatePatreonCreator(c PatreonCreator) (PatreonCreator, error) UpdatePatreonCreator(c PatreonCreator) (PatreonCreator, error) DeletePatreonCreator(c PatreonCreator) error PatreonTierByID(id int) (PatreonTier, error) PatreonTierByName(name string, creator string) (PatreonTier, error) CreatePatreonTier(t PatreonTier) (PatreonTier, error) UpdatePatreonTier(t PatreonTier) (PatreonTier, error) DeletePatreonTier(t PatreonTier) error GuildPatreonCreators(g Guild) ([]PatreonCreator, error) CreatorPatreonTiers(c PatreonCreator) ([]PatreonTier, error) }
type PatreonTier ¶
type PatreonTier struct { ID int Name string Description sql.NullString Creator PatreonCreator Role Role NextTier *PatreonTier }
type RequestService ¶
type RequestService interface { Request(id int64) (Request, error) UserRequests(u User, completed bool) ([]Request, error) GuildRequests(g Guild, completed bool) ([]Request, error) CreateRequest(r Request) (Request, error) UpdateRequest(r Request) (Request, error) DeleteRequest(r Request) error Comment(id int64) (Comment, error) RequestComments(r Request) ([]Comment, error) RequestCommentCount(r Request) (int, error) CreateComment(c Comment) (Comment, error) DeleteComment(c Comment) error }
type ServerService ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
pkg
|
|
database/migrations
Code generated for package migrations by go-bindata DO NOT EDIT.
|
Code generated for package migrations by go-bindata DO NOT EDIT. |
Click to show internal directories.
Click to hide internal directories.