Documentation
¶
Index ¶
- type NewPodcastInput
- type Resolver
- func (r *Resolver) AddNewPodcast(ctx context.Context, args NewPodcastInput) (*podcastResolver, error)
- func (r *Resolver) CreateUser(args UserInput) (string, error)
- func (r *Resolver) Login(args UserInput) (string, error)
- func (r *Resolver) Podcasts(ctx context.Context) (*[]*podcastResolver, error)
- func (r *Resolver) Subscribe(ctx context.Context, args SubscribeInput) (*podcastResolver, error)
- func (r *Resolver) Subscriptions(ctx context.Context) (*[]*podcastResolver, error)
- type SubscribeInput
- type UserInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewPodcastInput ¶
type NewPodcastInput struct {
URL string
}
type Resolver ¶
type Resolver struct { UserService *service.User PodcastService *service.Podcast EpisodeService *service.Episode AuthService *service.AuthService SubscriptionService *service.Subscription }
func (*Resolver) AddNewPodcast ¶
func (r *Resolver) AddNewPodcast(ctx context.Context, args NewPodcastInput) (*podcastResolver, error)
type SubscribeInput ¶
type SubscribeInput struct {
ID int32
}
Click to show internal directories.
Click to hide internal directories.