Move documentation comment to correct function
parent
6eb4574df4
commit
c0fa23af5e
4
run.go
4
run.go
|
@ -12,12 +12,12 @@ import (
|
|||
|
||||
var runOnce sync.Once
|
||||
|
||||
// Run initializes the proxy and starts the main listener loop.
|
||||
// It blocks forever.
|
||||
func Run() {
|
||||
runOnce.Do(runFunc)
|
||||
}
|
||||
|
||||
// Run initializes the proxy and starts the main listener loop.
|
||||
// It blocks forever.
|
||||
func runFunc() {
|
||||
if err := LoadConfig(); err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Reference in New Issue