Documentation
¶
Index ¶
- Constants
- func ConfigDir() (string, error)
- func Delete(name string) error
- func EndpointURL() string
- func Get(name string) (string, error)
- func Save(apiKey, name string) error
- func SavePersistentConfig(pc *PersistentConfig) error
- func SetActiveTeam(name string) error
- type Config
- type KeyEntry
- type PersistentConfig
Constants ¶
View Source
const (
DefaultEndpointURL = "https://app.loops.so/api/v1"
)
Variables ¶
This section is empty.
Functions ¶
func EndpointURL ¶
func EndpointURL() string
func SavePersistentConfig ¶
func SavePersistentConfig(pc *PersistentConfig) error
func SetActiveTeam ¶
Types ¶
type PersistentConfig ¶
type PersistentConfig struct {
ActiveTeam string `yaml:"activeTeam"`
Teams []string `yaml:"teams"`
}
func LoadPersistentConfig ¶
func LoadPersistentConfig() (*PersistentConfig, error)
Click to show internal directories.
Click to hide internal directories.