Versions in this module Expand all Collapse all v0 v0.2.1 Jan 19, 2026 v0.2.0 Jan 11, 2026 Changes in this version + type Client struct + func New() *Client + func NewWithPaths(socketPath, tcpAddr string) *Client + func NewWithSocket(socketPath string) *Client + func (c *Client) DeleteSecret(ctx context.Context, path string) error + func (c *Client) GetSecret(ctx context.Context, path string) (*daemon.SecretResponse, error) + func (c *Client) GetStatus(ctx context.Context) (*daemon.StatusResponse, error) + func (c *Client) Init(ctx context.Context, password string) error + func (c *Client) IsDaemonRunning() bool + func (c *Client) ListSecrets(ctx context.Context, prefix string) (*daemon.ListResponse, error) + func (c *Client) Lock(ctx context.Context) error + func (c *Client) SetSecret(ctx context.Context, path, value string, fields, tags map[string]string) error + func (c *Client) Stop(ctx context.Context) error + func (c *Client) Unlock(ctx context.Context, password string) error + type DaemonError struct + Code string + Message string + StatusCode int + func (e *DaemonError) Error() string + func (e *DaemonError) IsInvalidPassword() bool + func (e *DaemonError) IsNotFound() bool + func (e *DaemonError) IsVaultLocked() bool