Documentation ¶
Index ¶
- func DeleteCode(id string)
- func InsertCode(secretOrUri string)
- func Pad(buf []byte, size int) []byte
- func SaveCode(codes Codes)
- func SaveConfigure(conf Configure)
- func SyncCode(cs []Code)
- func Unpad(buf []byte) ([]byte, error)
- func UpdateCodeName(id string, name string)
- type Code
- type Codes
- type Configure
- type EncryptData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCode ¶
func DeleteCode(id string)
func InsertCode ¶
func InsertCode(secretOrUri string)
func SaveConfigure ¶
func SaveConfigure(conf Configure)
func UpdateCodeName ¶
Types ¶
type Code ¶
type Configure ¶
type Configure struct { ExitWhenWindowClose bool `json:"exitWhenWindowClose"` ShowTray bool `json:"showTray"` WindowMode bool `json:"windowMode"` }
func LoadConfigure ¶
func LoadConfigure() Configure
type EncryptData ¶
type EncryptData string
func NewEncryptData ¶
func NewEncryptData(val string) *EncryptData
func (*EncryptData) MarshalText ¶
func (e *EncryptData) MarshalText() (text []byte, err error)
func (*EncryptData) UnmarshalText ¶
func (e *EncryptData) UnmarshalText(text []byte) error
func (*EncryptData) Val ¶
func (e *EncryptData) Val() string
Click to show internal directories.
Click to hide internal directories.