Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(s Secret) (Secret, error)
- func (c *Client) CreateNodeType(name string, template string, nodetype string) (Secret, error)
- func (c *Client) Delete(id string) error
- func (c *Client) Login() error
- func (c *Client) Read(id string) ([]Secret, error)
- func (c *Client) Update(s Secret) error
- func (c *Client) UpdateNodeType(id string, template string) error
- type Secret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is our Lastpass (lpass) wrapper client.
func (*Client) CreateNodeType ¶
Create a secret of type node-type
type Secret ¶
type Secret struct { Fullname string `json:"fullname"` Group string `json:"group"` ID string `json:"id"` LastModifiedGmt string `json:"last_modified_gmt"` LastTouch string `json:"last_touch"` Name string `json:"name"` Note string `json:"note"` Password string `json:"password"` URL string `json:"url"` Username string `json:"username"` CustomFields map[string]string `json:"custom_fields"` }
Secret describes a Lastpass object.
Click to show internal directories.
Click to hide internal directories.