emote

package
v0.0.0-...-3961de6 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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

Types

type Resolver

type Resolver struct {
	types.Resolver
}

func (*Resolver) ChannelCount

func (r *Resolver) ChannelCount(ctx context.Context, obj *model.Emote) (int, error)

func (*Resolver) Channels

func (r *Resolver) Channels(ctx context.Context, obj *model.Emote, pageArg *int, limitArg *int) (*model.UserSearchResult, error)

func (*Resolver) Images

func (r *Resolver) Images(ctx context.Context, obj *model.Emote, format []model.ImageFormat) ([]*model.Image, error)

func (*Resolver) Owner

func (r *Resolver) Owner(ctx context.Context, obj *model.Emote) (*model.User, error)

func (*Resolver) Reports

func (r *Resolver) Reports(ctx context.Context, obj *model.Emote) ([]*model.Report, error)

type ResolverPartial

type ResolverPartial struct {
	types.Resolver
}

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

type ResolverVersion struct {
	types.Resolver
}

func (*ResolverVersion) Images

func (r *ResolverVersion) Images(ctx context.Context, obj *model.EmoteVersion, format []model.ImageFormat) ([]*model.Image, error)

Jump to

Keyboard shortcuts

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