Documentation ¶
Index ¶
- Constants
- func New(r types.Resolver) generated.EmoteResolver
- func NewPartial(r types.Resolver) generated.EmotePartialResolver
- func NewVersion(r types.Resolver) generated.EmoteVersionResolver
- type Resolver
- func (r *Resolver) ChannelCount(ctx context.Context, obj *model.Emote) (int, error)
- func (r *Resolver) Channels(ctx context.Context, obj *model.Emote, pageArg *int, limitArg *int) (*model.UserSearchResult, error)
- func (r *Resolver) Images(ctx context.Context, obj *model.Emote, format []model.ImageFormat) ([]*model.Image, error)
- func (r *Resolver) Owner(ctx context.Context, obj *model.Emote) (*model.User, error)
- func (r *Resolver) Reports(ctx context.Context, obj *model.Emote) ([]*model.Report, error)
- type ResolverPartial
- type ResolverVersion
Constants ¶
View Source
const EMOTE_CHANNEL_QUERY_PAGE_CAP = 500
View Source
const EMOTE_CHANNEL_QUERY_SIZE_MOST = 50
Variables ¶
This section is empty.
Functions ¶
func NewPartial ¶
func NewPartial(r types.Resolver) generated.EmotePartialResolver
func NewVersion ¶
func NewVersion(r types.Resolver) generated.EmoteVersionResolver
Types ¶
type Resolver ¶
func (*Resolver) ChannelCount ¶
type ResolverPartial ¶
func (*ResolverPartial) Images ¶
func (r *ResolverPartial) Images(ctx context.Context, obj *model.EmotePartial, format []model.ImageFormat) ([]*model.Image, error)
func (*ResolverPartial) Owner ¶
func (r *ResolverPartial) Owner(ctx context.Context, obj *model.EmotePartial) (*model.User, error)
type ResolverVersion ¶
func (*ResolverVersion) Images ¶
func (r *ResolverVersion) Images(ctx context.Context, obj *model.EmoteVersion, format []model.ImageFormat) ([]*model.Image, error)
Click to show internal directories.
Click to hide internal directories.