package
2.1.0+incompatible
Repository: https://github.com/jexia/semaphore.git
Documentation: pkg.go.dev

# Functions

BoolEmpty returns the given value as a bool or a empty bool if the value is nil.
BytesBase64Empty returns the given bytes buffer as a base64 string or a empty string if the value is nil.
Float32Empty returns the given value as a float32 or a empty float32 if the value is nil.
Float64Empty returns the given value as a float64 or a empty float64 if the value is nil.
Int32Empty returns the given value as a int32 or a empty int32 if the value is nil.
Int64Empty returns the given value as a int64 or a empty int64 if the value is nil.
NewConstructor constructs a new www-form-urlencoded constructor.
StringEmpty returns the given value as a string or a empty string if the value is nil.
Uint32Empty returns the given value as a uint32 or a empty uint32 if the value is nil.
Uint64Empty returns the given value as a uint64 or a empty uint64 if the value is nil.

# Constants

Name represents the codec.

# Structs

Constructor is capable of constructing new codec managers for the given resource and specs.
ErrUndefinedSpecs occurs when spacs are nil.
Manager manages a specs object and allows to encode/decode messages.