mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-20 02:00:49 +00:00
16 lines
260 B
Go
16 lines
260 B
Go
|
package stulbe
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
const ConfigKey = "stulbe/config"
|
||
|
|
||
|
type Config struct {
|
||
|
Endpoint string `json:"endpoint"`
|
||
|
Username string `json:"username"`
|
||
|
AuthKey string `json:"auth_key"`
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
ErrNotAuthenticated = errors.New("not authenticated")
|
||
|
)
|