Versions in this module Expand all Collapse all v1 v1.9.0 Jul 22, 2020 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + Author struct{ ... } + Mutation struct{ ... } + NotiSlice struct{ ... } + Notification struct{ ... } + Post struct{ ... } + PostOutline struct{ ... } + PostSlice struct{ ... } + Query struct{ ... } + QuotedNoti struct{ ... } + RepliedNoti struct{ ... } + SliceInfo struct{ ... } + SystemNoti struct{ ... } + Tag struct{ ... } + Thread struct{ ... } + ThreadCatalogItem struct{ ... } + ThreadOutline struct{ ... } + ThreadSlice struct{ ... } + User struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type MutationResolver interface + AddSubbedTag func(ctx context.Context, tag string) (*entity.User, error) + Auth func(ctx context.Context, email string) (bool, error) + BanUser func(ctx context.Context, postID *uid.UID, threadID *uid.UID) (bool, error) + BlockPost func(ctx context.Context, postID uid.UID) (*entity.Post, error) + BlockThread func(ctx context.Context, threadID uid.UID) (*entity.Thread, error) + DelSubbedTag func(ctx context.Context, tag string) (*entity.User, error) + EditTags func(ctx context.Context, threadID uid.UID, mainTag string, subTags []string) (*entity.Thread, error) + LockThread func(ctx context.Context, threadID uid.UID) (*entity.Thread, error) + PubPost func(ctx context.Context, post entity.PostInput) (*entity.Post, error) + PubThread func(ctx context.Context, thread entity.ThreadInput) (*entity.Thread, error) + SetName func(ctx context.Context, name string) (*entity.User, error) + SyncTags func(ctx context.Context, tags []string) (*entity.User, error) + type QueryResolver interface + MainTags func(ctx context.Context) ([]string, error) + Notification func(ctx context.Context, query entity.SliceQuery) (*entity.NotiSlice, error) + Post func(ctx context.Context, id uid.UID) (*entity.Post, error) + Profile func(ctx context.Context) (*entity.User, error) + Recommended func(ctx context.Context) ([]string, error) + Tags func(ctx context.Context, query *string, limit *int) ([]*entity.Tag, error) + Thread func(ctx context.Context, id uid.UID) (*entity.Thread, error) + ThreadSlice func(ctx context.Context, tags []string, query entity.SliceQuery) (*entity.ThreadSlice, error) + UnreadNotiCount func(ctx context.Context) (int, error) + type ResolverRoot interface + Mutation func() MutationResolver + Query func() QueryResolver + User func() UserResolver + type UserResolver interface + Posts func(ctx context.Context, obj *entity.User, query entity.SliceQuery) (*entity.PostSlice, error) + Threads func(ctx context.Context, obj *entity.User, query entity.SliceQuery) (*entity.ThreadSlice, error)