internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseLive

type BaseLive struct {
	Url           *url.URL
	LastStartTime time.Time
	LiveId        live.ID
	WithUpload    bool
	UploadInfo    bool
	UploadPath    string
	Options       *live.Options
}

func NewBaseLive

func NewBaseLive(url *url.URL, opt ...live.Option) BaseLive

func (*BaseLive) GetLastStartTime

func (a *BaseLive) GetLastStartTime() time.Time

func (*BaseLive) GetLiveId

func (a *BaseLive) GetLiveId() live.ID

func (*BaseLive) GetRawUrl

func (a *BaseLive) GetRawUrl() string

func (*BaseLive) GetUploadInfo added in v0.7.0

func (a *BaseLive) GetUploadInfo() bool

func (*BaseLive) GetUploadPath

func (a *BaseLive) GetUploadPath() string

func (*BaseLive) NeedUpload

func (a *BaseLive) NeedUpload() bool

func (*BaseLive) SetLastStartTime

func (a *BaseLive) SetLastStartTime(time time.Time)

func (*BaseLive) SetUpload

func (a *BaseLive) SetUpload(b bool)

func (*BaseLive) SetUploadInfo added in v0.7.0

func (a *BaseLive) SetUploadInfo(uploadInfo bool)

func (*BaseLive) SetUploadPath

func (a *BaseLive) SetUploadPath(path string)

Jump to

Keyboard shortcuts

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