Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶ added in v0.1.7
LoadConfig fills in all the values in the Settings from local yml file (for dev) and env vars (for deployments)
Types ¶
type Cipher ¶ added in v0.1.13
Cipher is an interface for something that can encrypt and decrypt strings.
type CloudEventHeaders ¶ added in v0.1.3
type CloudEventHeaders struct { ID string `json:"id"` Source string `json:"source"` SpecVersion string `json:"specversion"` Subject string `json:"subject"` Time time.Time `json:"time"` Type string `json:"type"` }
CloudEventHeaders contains the fields common to all CloudEvent messages.
type HTTPClientWrapper ¶ added in v0.1.11
type HTTPClientWrapper interface {
ExecuteRequest(path, method string, body []byte) (*http.Response, error)
}
func NewHTTPClientWrapper ¶ added in v0.1.11
type KMSCipher ¶ added in v0.1.13
KMSCipher is a Cipher that performs symmetric encryption with an AWS KMS key. TODO(elffjs): Give this a proper constructor. TODO(elffjs): Figure out key rotation in a couple of weeks.
type ROT13Cipher ¶ added in v0.1.13
type ROT13Cipher struct{}
ROT13Cipher is a Cipher that implements ROT13 encryption. Do not use this outside of tests!
type StringSet ¶ added in v0.1.2
type StringSet struct {
// contains filtered or unexported fields
}
StringSet offers a nice api to deal with string lists
func NewStringSet ¶ added in v0.1.2
func NewStringSet() *StringSet
Source Files ¶
Click to show internal directories.
Click to hide internal directories.