Documentation
¶
Index ¶
- func HandleClientAuth(goldory DoryClient, axn string)
- type DoryClient
- func (dory *DoryClient) Del() (err error)
- func (dory *DoryClient) FetchSecret() (value []byte, err error)
- func (dory *DoryClient) Get() (err error)
- func (dory *DoryClient) List() (err error)
- func (dory *DoryClient) Ping() (err error)
- func (dory *DoryClient) PurgeAll() (err error)
- func (dory *DoryClient) PurgeOne() (err error)
- func (dory *DoryClient) PurgeSecret() (err error)
- func (dory *DoryClient) RefreshSecret() (value []byte, err error)
- func (dory *DoryClient) Set() (err error)
- func (dory *DoryClient) ShareSecret(value []byte) (err error)
- func (dory *DoryClient) ShareSecretFromFile(filepath string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleClientAuth ¶
func HandleClientAuth(goldory DoryClient, axn string)
Types ¶
type DoryClient ¶
type DoryClient struct {
BaseUrl string
Backend string //local-auth
Key string
Value []byte
Token string
KeyTTL int //seconds, usable in cache mode only i.e. when persist is false
Persist bool
ReadNotDelete bool
}
func (*DoryClient) Del ¶
func (dory *DoryClient) Del() (err error)
func (*DoryClient) FetchSecret ¶
func (dory *DoryClient) FetchSecret() (value []byte, err error)
func (*DoryClient) Get ¶
func (dory *DoryClient) Get() (err error)
func (*DoryClient) List ¶
func (dory *DoryClient) List() (err error)
func (*DoryClient) Ping ¶
func (dory *DoryClient) Ping() (err error)
func (*DoryClient) PurgeAll ¶
func (dory *DoryClient) PurgeAll() (err error)
func (*DoryClient) PurgeOne ¶
func (dory *DoryClient) PurgeOne() (err error)
func (*DoryClient) PurgeSecret ¶
func (dory *DoryClient) PurgeSecret() (err error)
func (*DoryClient) RefreshSecret ¶
func (dory *DoryClient) RefreshSecret() (value []byte, err error)
func (*DoryClient) Set ¶
func (dory *DoryClient) Set() (err error)
func (*DoryClient) ShareSecret ¶
func (dory *DoryClient) ShareSecret(value []byte) (err error)
func (*DoryClient) ShareSecretFromFile ¶
func (dory *DoryClient) ShareSecretFromFile(filepath string) (err error)
Click to show internal directories.
Click to hide internal directories.