Documentation ¶
Overview ¶
Package float64 implements github.com/the-anna-project/clg.Service and provides a method to pass through the received float64 argument as it is. The idea behind this pass through CLG is that it does not calculate or manipulate any of the given arguments, but only returns them. The idea is that the arguments being returned as they are received can be used to be forwarded in a specific way based on the forwarding rules associated with a specific behaviour ID. This can especially be useful in combination with the buffer CLG.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config ServiceConfig) (*Service, error)
NewService creates a new configured CLG service.
type ServiceConfig ¶
ServiceConfig represents the configuration used to create a new CLG service.
func DefaultServiceConfig ¶
func DefaultServiceConfig() ServiceConfig
DefaultServiceConfig provides a default configuration to create a new CLG service by best effort.