Documentation ¶
Index ¶
- type Option
- func WithChannelId(channelId string) Option
- func WithDescription(description string) Option
- func WithForChannelId(forChannelId string) Option
- func WithID(id string) Option
- func WithMaxResults(maxResults int64) Option
- func WithMine(mine bool, changed bool) Option
- func WithMyRecentSubscribers(myRecentSubscribers bool, changed bool) Option
- func WithMySubscribers(mySubscribers bool, changed bool) Option
- func WithOnBehalfOfContentOwner(onBehalfOfContentOwner string) Option
- func WithOnBehalfOfContentOwnerChannel(onBehalfOfContentOwnerChannel string) Option
- func WithOrder(order string) Option
- func WithService(svc *youtube.Service) Option
- func WithSubscriberChannelId(id string) Option
- func WithTitle(title string) Option
- type Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*subscription)
func WithChannelId ¶
func WithDescription ¶
func WithForChannelId ¶
func WithMaxResults ¶
func WithMyRecentSubscribers ¶
func WithMySubscribers ¶
func WithService ¶
func WithService(svc *youtube.Service) Option
func WithSubscriberChannelId ¶
type Subscription ¶
type Subscription interface { List([]string, string) Insert(output string) Delete() // contains filtered or unexported methods }
func NewSubscription ¶
func NewSubscription(opts ...Option) Subscription
Click to show internal directories.
Click to hide internal directories.