Documentation ¶
Index ¶
- type File
- func (f *File) CloseLocation() error
- func (f *File) CloseUser()
- func (f *File) DeleteUser(username string) error
- func (f *File) GetUserCookiesFilePath() string
- func (f *File) HasUser(username string) bool
- func (f *File) HasUserCookies() bool
- func (f *File) LoadUserCookies() (cookies *string, err error)
- func (f *File) LoadUserSettings() (userSettings map[string]string, err error)
- func (f *File) MoveUser(oldUsername, newUsername string) error
- func (f *File) OpenLocation(config map[string]string) error
- func (f *File) OpenUser(username string) error
- func (f *File) SaveUserCookies(rawData string) error
- func (f *File) SaveUserSettings(userSettings *map[string]string, key string) error
- func (f *File) SetSettings(key, value string) error
- func (f *File) SetUsername(username string) error
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 (*File) DeleteUser ¶
func (*File) GetUserCookiesFilePath ¶
func (*File) HasUserCookies ¶
func (*File) LoadUserCookies ¶
func (*File) LoadUserSettings ¶
func (*File) SaveUserCookies ¶
func (*File) SaveUserSettings ¶
func (*File) SetSettings ¶
func (*File) SetUsername ¶
Click to show internal directories.
Click to hide internal directories.