Versions in this module Expand all Collapse all v0 v0.5.5 Jul 8, 2023 Changes in this version + const EmptyRoomName + const EmptyStreamerName + const KsLiveDetailQuery + const KsUserInfoQuery + var ErrCookieNotSet = errors.New("cookie not configured") + var ErrNotSupported = errors.New("streamer not supported") + var ErrSiteInvalid = errors.New("site invalid") + type ITV interface + RoomName func() (string, bool) + SiteName func() string + Snap func() error + StreamURL func() (string, bool) + StreamerName func() (string, bool) + type Info struct + Timestamp int64 + type Option func(*TV) error + func SetCookie(cookie string) Option + type RoomURL string + func (this RoomURL) SiteID() string + func (this RoomURL) Stream() (*TV, error) + type Site interface + Name func() string + Permit func(RoomURL) (*TV, error) + Snap func(*TV) error + func Sniff(siteID string) (Site, bool) + type TV struct + RoomID string + SiteID string + func New(siteID, roomID string, opts ...Option) (*TV, error) + func NewWithURL(roomURL string, opts ...Option) (*TV, error) + func (tv *TV) RoomName() (string, bool) + func (tv *TV) SiteName() string + func (tv *TV) Snap() error + func (tv *TV) SnapWithCookie(cookie string) error + func (tv *TV) StreamURL() (string, bool) + func (tv *TV) StreamerName() (string, bool) + func (tv *TV) String() string + type TiktokAutoGenerated struct + Data struct{ ... } + type YoutubePlayerResponse struct + Microformat struct{ ... } + PlayabilityStatus struct{ ... } + ResponseContext struct{ ... } + StreamingData struct{ ... } + VideoDetails struct{ ... }