Documentation ¶
Index ¶
- Variables
- func DeleteSecret(secret models.Secret) error
- func Get() *pg.DB
- func GetPathByName(name string) (models.Path, error)
- func GetSecret(path string, key string, version int64) (models.Secret, error)
- func GetSecrets(pathId int) ([]models.Secret, error)
- func GetSecretsByPathName(pathName string) ([]models.Secret, error)
- func Init(config *models.Config) *pg.DB
- func SavePolicy(policy models.Policy) error
- func WriteSecret(userID int64, request models.Secret) (models.Secret, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *pg.DB
Functions ¶
func DeleteSecret ¶
func SavePolicy ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.