api

package
v0.0.0-...-9c17463 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream struct {
	Created_at string `json:"createdAt"`
	User       User   `json:"user"`
	Ingest     struct {
		Server   string `json:"server"`
		Id       string `json:"id"`
		Mediamtx bool   `json:"mediamtx"`
	} `json:"ingest"`
}

func Find

func Find() []Stream

type User

type User struct {
	Id        string `json:"id"`
	Username  string `json:"username"`
	StreamKey string `json:"stream_key"`
}

func GetUser

func GetUser(id string) *User

Jump to

Keyboard shortcuts

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