Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Casket ¶
type Casket struct { CasketAttribute Members map[string](*member.PrivateMember) }
func Create ¶
func Create(ca CreateArg) (*Casket, *member.PrivateMember, error)
UseCase Write the PrivateKey in den casket ~/.neckless/casket neckless casket create --name <name> [--device <name>] [--person|--device] [--file=~/.crazybee/casket]
func Rm ¶
func Rm(rmarg RmArg) (*Casket, []*member.PrivateMember, error)
UseCase Delete Key from casket neckless casket rm <id>
func (*Casket) AsJSON ¶
func (casket *Casket) AsJSON() *JsonCasket
func (*Casket) AsPrivateMembers ¶
func (c *Casket) AsPrivateMembers() []*member.PrivateMember
type CasketAttribute ¶
type JsonCasket ¶
type JsonCasket struct { Members map[string]member.JsonPrivateMember `json:"members"` CasketAttribute }
Click to show internal directories.
Click to hide internal directories.