Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthData ¶
type AuthData struct { Username string `json:"username"` UserID int64 `json:"id"` Tokens struct { Refresh string `json:"refresh"` } `json:"tokens"` }
func InitAuthData ¶
func InitAuthData() *AuthData
type Config ¶
type Config struct {
Theme Theme `json:"theme"`
}
var DefaultConfig Config
func InitConfig ¶
type ConfigColors ¶
type ConfigColors struct { BoardColor int `json:"board"` BoardColorAlt int `json:"board_alt"` BlackColor int `json:"black"` BlackColorAlt int `json:"black_alt"` WhiteColor int `json:"white"` WhiteColorAlt int `json:"white_alt"` CursorColorFG int `json:"cursor_fg"` CursorColorBG int `json:"cursor_bg"` LastPlayedColorBG int `json:"last_played_bg"` }
type ConfigSymbols ¶
type InvalidConfig ¶
type InvalidConfig struct {
// contains filtered or unexported fields
}
func (*InvalidConfig) Error ¶
func (e *InvalidConfig) Error() string
type Theme ¶
type Theme struct { DrawStoneBackground bool `json:"draw_stone_bg"` DrawCursorBackground bool `json:"draw_cursor_bg"` DrawLastPlayedBackground bool `json:"draw_last_played_bg"` FullWidthLetters bool `json:"fullwidth_letters"` Colors ConfigColors `json:"colors"` Symbols ConfigSymbols `json:"symbols"` }
var CatdogTheme Theme
var DefaultTheme Theme
var HongokuTheme Theme
var UnicodeTheme Theme
var VaporwaveTheme Theme
Click to show internal directories.
Click to hide internal directories.