zrok/controller/metrics/websocketSource.go

18 lines
337 B
Go
Raw Normal View History

2023-03-03 19:31:57 +01:00
package metrics
import "github.com/michaelquigley/cf"
type WebsocketSourceConfig struct {
WebsocketEndpoint string
}
func loadWebsocketSourceConfig(v interface{}, opts *cf.Options) (interface{}, error) {
return nil, nil
}
type websocketSource struct{}
func (s *websocketSource) Start() (chan struct{}, error) {
return nil, nil
}