user

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultProfile = &Profile{Name: "Guest"}

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Name  string `json:"name,omitempty"`
	Mode  string `json:"mode,omitempty"`
	Theme string `json:"theme,omitempty"`
}

func (*Profile) Clone

func (p *Profile) Clone() *Profile

func (*Profile) Equals

func (p *Profile) Equals(x *Profile) bool

func (*Profile) ModeClass

func (p *Profile) ModeClass() string

func (*Profile) SetName added in v1.3.7

func (p *Profile) SetName(n string) bool

func (*Profile) String

func (p *Profile) String() string

Jump to

Keyboard shortcuts

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