Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoomUrl ¶
type RoomUrl string
Example ¶
package main import ( "fmt" "github.com/go-olive/tv" ) func main() { tv, err := tv.Snap(tv.NewRoomUrl("https://www.huya.com/518512"), nil) if err != nil { println(err.Error()) return } fmt.Println(tv) }
Output:
func NewRoomUrl ¶
type Tv ¶
Example ¶
package main import ( "fmt" "github.com/go-olive/tv" ) func main() { tv, err := tv.Snap(tv.NewTv("huya", "518512"), nil) if err != nil { println(err.Error()) return } fmt.Println(tv) }
Output:
func (*Tv) StreamerName ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.