Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorage ¶
type LocalStorage struct {
// contains filtered or unexported fields
}
func NewLocalStorage ¶
func NewLocalStorage(name string) *LocalStorage
func (*LocalStorage) GetProfile ¶
func (s *LocalStorage) GetProfile() *Profile
func (*LocalStorage) Init ¶
func (s *LocalStorage) Init() error
func (*LocalStorage) LoadConfig ¶
func (s *LocalStorage) LoadConfig() (*Config, error)
func (*LocalStorage) Remove ¶
func (s *LocalStorage) Remove() error
func (*LocalStorage) SaveConfig ¶
func (s *LocalStorage) SaveConfig() error
type Profile ¶
type Profile struct {
Token *globalping.Token `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.