package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. // Code generated by github.com/99designs/gqlgen version v0.17.68 import ( "context" "fmt" graphql1 "git.kmsign.ru/royalcat/tstor/plugins/qbittorrent/delivery/graphql" "git.kmsign.ru/royalcat/tstor/plugins/qbittorrent/delivery/graphql/model" ) // Torrents is the resolver for the torrents field. func (r *queryResolver) Torrents(ctx context.Context, filter *model.TorrentFilter) ([]*model.Torrent, error) { panic(fmt.Errorf("not implemented: Torrents - torrents")) } // SourceFiles is the resolver for the sourceFiles field. func (r *torrentResolver) SourceFiles(ctx context.Context, obj *model.Torrent) ([]string, error) { panic(fmt.Errorf("not implemented: SourceFiles - sourceFiles")) } // Query returns graphql1.QueryResolver implementation. func (r *Resolver) Query() graphql1.QueryResolver { return &queryResolver{r} } // Torrent returns graphql1.TorrentResolver implementation. func (r *Resolver) Torrent() graphql1.TorrentResolver { return &torrentResolver{r} } type queryResolver struct{ *Resolver } type torrentResolver struct{ *Resolver }