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
Raw Normal View History

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