MCPcopy Index your code
hub / github.com/foxcpp/maddy / FileLoader

Struct FileLoader

internal/tls/file.go:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34)
35
36type FileLoader struct {
37 instName string
38 certPaths []string
39 keyPaths []string
40 log *log.Logger
41
42 certs []tls.Certificate
43 certsLock sync.RWMutex
44
45 reloadTick *time.Ticker
46 stopTick chan struct{}
47}
48
49func NewFileLoader(c *container.C, modName, instName string) (module.Module, error) {
50 return &FileLoader{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected