Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExtensionIsEmpty = errors.New("extension is empty") ErrStorageNotSpecified = errors.New("storage not specified") )
Functions ¶
This section is empty.
Types ¶
type KeyIDType ¶
type KeyIDType uint32
const ( // FileNameWithoutExtension - Key ID Type for which the key id is formated based on the file name, excluding the extension. // // FilePath: /tmp/xxx/.../ss/key.pem // KeyID -> key // FileNameWithoutExtension KeyIDType = 1 << iota // FileNameWithExtension - Key ID Type for which the key id is formated based on the file name, including the extension. // // FilePath: /tmp/xxx/.../ss/key.pem // KeyID -> key.pem // FileNameWithExtension // FileFullPathRelativeToLocation - Key ID Type for which the key id will be the subpath by excluding the given location. // // FilePath: /tmp/xxx/ss/key.pem // Given Location: /tmp/xxx // KeyID -> /ss/key.pem // FileFullPathRelativeToLocation // FileFullPath - Key ID Type for which the key id will be the full path. // // FilePath: /tmp/xxx/ss/key.pem // KeyID -> /tmp/xxx/ss/key.pem // FileFullPath )
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) StartWatching ¶
StartWatching starts a watcher on the given directory.
func (*Loader) StopWatching ¶
StopWatching stop a watcher on the given directory.
Click to show internal directories.
Click to hide internal directories.