storage

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFilePath = "config.sgc"

Functions

This section is empty.

Types

type Config

type Config struct {
}

func NewConfig

func NewConfig() *Config

func (*Config) ConfigExists

func (c *Config) ConfigExists() bool

func (*Config) DeleteConfigFile

func (c *Config) DeleteConfigFile() error

func (*Config) LoadConfig

func (c *Config) LoadConfig() (models.Config, error)

func (*Config) SaveConfig

func (c *Config) SaveConfig(token, username, userType string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL