subscription

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 WithChannelId(channelId string) Option

func WithDescription

func WithDescription(description string) Option

func WithForChannelId

func WithForChannelId(forChannelId string) Option

func WithId

func WithId(id string) Option

func WithMaxResults

func WithMaxResults(maxResults int64) Option

func WithMine

func WithMine(mine string) Option

func WithMyRecentSubscribers

func WithMyRecentSubscribers(myRecentSubscribers string) Option

func WithMySubscribers

func WithMySubscribers(mySubscribers string) Option

func WithOnBehalfOfContentOwner

func WithOnBehalfOfContentOwner(onBehalfOfContentOwner string) Option

func WithOnBehalfOfContentOwnerChannel

func WithOnBehalfOfContentOwnerChannel(onBehalfOfContentOwnerChannel string) Option

func WithOrder

func WithOrder(order string) Option

func WithService

func WithService() Option

func WithSubscriberChannelId

func WithSubscriberChannelId(id string) Option

func WithTitle

func WithTitle(title string) Option

type Subscription

type Subscription interface {
	List([]string, string)
	Insert()
	Delete()
	// contains filtered or unexported methods
}

func NewSubscription

func NewSubscription(opts ...Option) Subscription

Jump to

Keyboard shortcuts

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