Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination struct { ID uuid.UUID `json:"id"` Name string `json:"name"` URL string `json:"url"` }
Destination represents a destination for a stream.
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
FileStore is a file-based store for persistent application state. It will probably be replaced with sqlite3 at some point.
FileStore is not thread-safe and should always be used from a single goroutine.
type State ¶
type State struct {
Destinations []Destination `json:"destinations"`
}
State is the storable persistent state.
Click to show internal directories.
Click to hide internal directories.