MCPcopy Index your code
hub / github.com/evcc-io/evcc / init

Function init

plugin/socket.go:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func init() {
31 registry.Add("ws", NewSocketPluginFromConfig)
32 registry.Add("websocket", NewSocketPluginFromConfig)
33}
34
35// NewSocketPluginFromConfig creates a HTTP provider
36func NewSocketPluginFromConfig(other map[string]any) (Plugin, error) {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected