Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func AnyValue(data any) (any, error)
 - func BitStringValue(data any) (bactypes.BitString, error)
 - func BoolValue(data any) (bool, error)
 - func EnumValue(data any) (bactypes.Enumerated, error)
 - func Float32Value(data any) (float32, error)
 - func Float64Value(data any) (float64, error)
 - func LogPollError(logger *zap.Logger, msg string, err error)
 - func ReadProperties(ctx context.Context, client *gobacnet.Client, known known.Context, ...) []any
 - func ReadPropertiesChunked(ctx context.Context, client *gobacnet.Client, known known.Context, ...) []any
 - func ReadProperty(ctx context.Context, client *gobacnet.Client, known known.Context, ...) (any, error)
 - func StringValue(data any) (string, error)
 - func WriteProperty(ctx context.Context, client *gobacnet.Client, known known.Context, ...) error
 - type ErrReadProperty
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( ErrPropNotFound = errors.New("property not found") ErrObjectNotFound = errors.New("object not found") )
Functions ¶
func Float32Value ¶
func Float64Value ¶
func ReadProperties ¶
func ReadPropertiesChunked ¶
func ReadPropertiesChunked(ctx context.Context, client *gobacnet.Client, known known.Context, chunkSize int, values ...config.ValueSource) []any
ReadPropertiesChunked is like readProperties but splits values into chunks of at most chunkSize that are executed in parallel.
func ReadProperty ¶
func StringValue ¶
Types ¶
type ErrReadProperty ¶
func (ErrReadProperty) Error ¶
func (e ErrReadProperty) Error() string
func (ErrReadProperty) PropName ¶
func (e ErrReadProperty) PropName() string
func (ErrReadProperty) Unwrap ¶
func (e ErrReadProperty) Unwrap() error
 Click to show internal directories. 
   Click to hide internal directories.