MCPcopy Create free account
hub / github.com/evcc-io/evcc / FloatSetter

Method FloatSetter

plugin/http.go:280–284  ·  view source on GitHub ↗

FloatSetter sends int request

(param string)

Source from the content-addressed store, hash-verified

278
279// FloatSetter sends int request
280func (p *HTTP) FloatSetter(param string) (func(float64) error, error) {
281 return func(val float64) error {
282 return p.set(param, val)
283 }, nil
284}
285
286var _ StringSetter = (*HTTP)(nil)
287

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected