MCPcopy Create free account
hub / github.com/AdRoll/baker / WebSocket

Struct WebSocket

output/websocket.go:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22func (cfg *WebSocketConfig) fillDefaults() {}
23
24type WebSocket struct {
25 Cfg *WebSocketConfig
26
27 Fields []baker.FieldIndex
28
29 fieldByName func(string) (baker.FieldIndex, bool)
30 totaln int64
31}
32
33func NewWebSocket(cfg baker.OutputParams) (baker.Output, error) {
34 log.WithFields(log.Fields{"fn": "NewWebSocket", "idx": cfg.Index}).Info("Initializing")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected