zrok/controller/metrics/websocketSource.go

21 lines
409 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(events chan map[string]interface{}) (chan struct{}, error) {
2023-03-03 19:31:57 +01:00
return nil, nil
}
func (s *websocketSource) Stop() {
}