cmd

package
v0.0.0-...-4c68550 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func NewShigParamsByUrl

func NewShigParamsByUrl(urlString string) (*shigParams, error)

Types

type Config

type Config struct {
	*ShigConfig    `mapstructure:"shig"`
	*RtmpConfig    `mapstructure:"rtmp"`
	*rtp.RtpConfig `mapstructure:"rtp"`
}

type RtmpConfig

type RtmpConfig struct {
	StreamKey string `mapstructure:"streamKey"`
	RtmpUrl   string `mapstructure:"rtmpUrl"`
}

type ShigConfig

type ShigConfig struct {
	User          string `mapstructure:"user"`
	Pass          string `mapstructure:"pass"`
	RegisterToken string `mapstructure:"registerToken"`
}

Jump to

Keyboard shortcuts

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