mirror of
https://github.com/openziti/zrok.git
synced 2024-11-29 19:43:26 +01:00
11 lines
252 B
Go
11 lines
252 B
Go
package metrics
|
|
|
|
import "github.com/michaelquigley/cf"
|
|
|
|
func GetCfOptions() *cf.Options {
|
|
opts := cf.DefaultOptions()
|
|
opts.AddFlexibleSetter("file", loadFileSourceConfig)
|
|
opts.AddFlexibleSetter("websocket", loadWebsocketSourceConfig)
|
|
return opts
|
|
}
|