1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-20 02:00:49 +00:00
strimertul/modules/stulbe/data.go

17 lines
294 B
Go

package stulbe
import "errors"
const ConfigKey = "stulbe/config"
type Config struct {
Enabled bool `json:"enabled"`
Endpoint string `json:"endpoint"`
Username string `json:"username"`
AuthKey string `json:"auth_key"`
}
var (
ErrNotAuthenticated = errors.New("not authenticated")
)