Documentation ¶
Index ¶
Constants ¶
View Source
const ( BandFilePattern string = "band_*.js" ProfileDir string = "default" ProfileFile string = "profile.js" )
Variables ¶
View Source
var ( ErrInvalidHmac = errors.New("invalid HMAC") ErrInvalidPass = errors.New("invalid password") ErrInvalidVault = errors.New("invalid vault (%v)") ErrUnknownItemCat = errors.New("unknown item category") )
View Source
var (
ItemCategoryEnum = newItemCategoryRegistry()
)
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Category *ItemCategory Created int64 Details string Uid string Updated int64 }
type ItemCategory ¶
type ItemCategory struct {
// contains filtered or unexported fields
}
func (*ItemCategory) GetCode ¶
func (ic *ItemCategory) GetCode() string
func (*ItemCategory) GetName ¶
func (ic *ItemCategory) GetName() string
type Keys ¶
type RawItem ¶
type SimpleItem ¶
func NewSimpleItem ¶
func NewSimpleItem(title, uid string) *SimpleItem
Click to show internal directories.
Click to hide internal directories.