Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
FromPath: "",
ToPath: "",
HashAlgorithm: "md5",
Key: "",
Encoding: "",
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FromPath string `json:"fromPath,omitempty"` ToPath string `json:"toPath,omitempty"` HashAlgorithm string `json:"hashAlgorithm,omitempty"` Key string `json:"key,omitempty"` // optional key for certain hash algorithms Encoding string `json:"encoding,omitempty"` // optional encoding of hash, base64, hex etc. }
Config can be passed into NewFilter() in order to configure the behavior of the sender.
func (Config) WithDefaults ¶
Click to show internal directories.
Click to hide internal directories.