Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AES256Key ¶
type AES256Key struct {
Key []byte
Base64Key string
Base64KeyMd5Hash string
Base64KeySha256Hash string
}
AES256Key represents custom key
type Resource ¶
type Resource struct {
URL string `description:"resource URL or relative or absolute path" required:"true"` //URL of resource
Credentials string `description:"credentials file"` //name of credential file or credential key depending on implementation
CustomKey *AES256Key `description:" content encryption key"`
}
Resource represents a URL based resource, with enriched meta info
Source Files
¶
- key.go
- resource.go
Click to show internal directories.
Click to hide internal directories.