mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 13:43:47 +03:00
doc: Improve comment
This commit is contained in:
parent
6963a72a63
commit
f980170909
1 changed files with 6 additions and 1 deletions
|
@ -65,7 +65,12 @@ type ModuleInfo struct {
|
||||||
|
|
||||||
// New returns a pointer to a new, empty
|
// New returns a pointer to a new, empty
|
||||||
// instance of the module's type. This
|
// instance of the module's type. This
|
||||||
// function must not have any side-effects.
|
// method must not have any side-effects,
|
||||||
|
// and no other initialization should
|
||||||
|
// occur within it. Any initialization
|
||||||
|
// of the returned value should be done
|
||||||
|
// in a Provision() method (see the
|
||||||
|
// Provisioner interface).
|
||||||
New func() Module
|
New func() Module
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue