storage_file

package
v0.0.0-...-12f777f Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func (*File) CloseLocation

func (f *File) CloseLocation() error

func (*File) CloseUser

func (f *File) CloseUser()

func (*File) DeleteUser

func (f *File) DeleteUser(username string) error

func (*File) GetUserCookiesFilePath

func (f *File) GetUserCookiesFilePath() string

func (*File) HasUser

func (f *File) HasUser(username string) bool

func (*File) HasUserCookies

func (f *File) HasUserCookies() bool

func (*File) LoadUserCookies

func (f *File) LoadUserCookies() (cookies *string, err error)

func (*File) LoadUserSettings

func (f *File) LoadUserSettings() (userSettings map[string]string, err error)

func (*File) MoveUser

func (f *File) MoveUser(oldUsername, newUsername string) error

func (*File) OpenLocation

func (f *File) OpenLocation(config map[string]string) error

func (*File) OpenUser

func (f *File) OpenUser(username string) error

func (*File) SaveUserCookies

func (f *File) SaveUserCookies(rawData string) error

func (*File) SaveUserSettings

func (f *File) SaveUserSettings(userSettings *map[string]string, key string) error

func (*File) SetSettings

func (f *File) SetSettings(key, value string) error

func (*File) SetUsername

func (f *File) SetUsername(username string) error

Jump to

Keyboard shortcuts

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