Documentation ¶
Index ¶
- Constants
- func New(r types.Resolver) generated.QueryResolver
- type Resolver
- func (r *Resolver) CurrentUser(ctx context.Context) (*model.User, error)
- func (r *Resolver) Emote(ctx context.Context, id primitive.ObjectID) (*model.Emote, error)
- func (r *Resolver) EmoteSet(ctx context.Context, id primitive.ObjectID) (*model.EmoteSet, error)
- func (r *Resolver) Emotes(ctx context.Context, query string, pageArg *int, limitArg *int, ...) (*model.EmoteSearchResult, error)
- func (r *Resolver) Inbox(ctx context.Context, afterID *primitive.ObjectID) ([]*model.Message, error)
- func (r *Resolver) NamedEmoteSet(ctx context.Context, name model.EmoteSetName) (*model.EmoteSet, error)
- func (r *Resolver) Report(ctx context.Context, id primitive.ObjectID) (*model.Report, error)
- func (r *Resolver) Reports(ctx context.Context, status *model.ReportStatus, limit *int, afterID *string, ...) ([]*model.Report, error)
- func (r *Resolver) Role(ctx context.Context, id primitive.ObjectID) (*model.Role, error)
- func (r *Resolver) Roles(ctx context.Context) ([]*model.Role, error)
- func (r *Resolver) User(ctx context.Context, id primitive.ObjectID) (*model.User, error)
- func (r *Resolver) Users(ctx context.Context, query string) ([]*model.User, error)
- type Sort
- type SortOrder
Constants ¶
View Source
const EMOTES_QUERY_LIMIT = 300
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.