mirror of
https://github.com/cubixle/vault.git
synced 2026-04-24 21:24:43 +01:00
removed godeps in favour of glide
This commit is contained in:
2
main.go
2
main.go
@@ -16,12 +16,14 @@ import (
|
||||
"gopkg.in/gin-gonic/gin.v1"
|
||||
)
|
||||
|
||||
// Item holds the data.
|
||||
type Item struct {
|
||||
Data string `json:"data"`
|
||||
Expiry time.Time `json:"expiryData"`
|
||||
TTL int32 `json:"ttl"`
|
||||
}
|
||||
|
||||
// Vault holds the vault data and key.
|
||||
type Vault struct {
|
||||
Vault string `json:"vault"`
|
||||
Key string `json:"key"`
|
||||
|
||||
Reference in New Issue
Block a user