Versions in this module Expand all Collapse all v3 v3.1.2 Oct 8, 2023 Changes in this version + var Available = map[string]TypeID + var Decoder = map[TypeID]DecoderFunc + type Address []byte + func (addr Address) Len() int + func (addr Address) Padding() int + func (addr Address) Serialize() []byte + func (addr Address) String() string + func (addr Address) Type() TypeID + type DecoderFunc func([]byte) (Type, error) + type DiameterIdentity OctetString + func (s DiameterIdentity) Len() int + func (s DiameterIdentity) Padding() int + func (s DiameterIdentity) Serialize() []byte + func (s DiameterIdentity) String() string + func (s DiameterIdentity) Type() TypeID + type DiameterURI OctetString + func (s DiameterURI) Len() int + func (s DiameterURI) Padding() int + func (s DiameterURI) Serialize() []byte + func (s DiameterURI) String() string + func (s DiameterURI) Type() TypeID + type Enumerated Integer32 + func (n Enumerated) Len() int + func (n Enumerated) Padding() int + func (n Enumerated) Serialize() []byte + func (n Enumerated) String() string + func (n Enumerated) Type() TypeID + type Float32 float32 + func (n Float32) Len() int + func (n Float32) Padding() int + func (n Float32) Serialize() []byte + func (n Float32) String() string + func (n Float32) Type() TypeID + type Float64 float64 + func (n Float64) Len() int + func (n Float64) Padding() int + func (n Float64) Serialize() []byte + func (n Float64) String() string + func (n Float64) Type() TypeID + type Grouped []byte + func (g Grouped) Len() int + func (g Grouped) Padding() int + func (g Grouped) Serialize() []byte + func (g Grouped) String() string + func (g Grouped) Type() TypeID + type IPFilterRule OctetString + func (s IPFilterRule) Len() int + func (s IPFilterRule) Padding() int + func (s IPFilterRule) Serialize() []byte + func (s IPFilterRule) String() string + func (s IPFilterRule) Type() TypeID + type IPv4 net.IP + func (ip IPv4) Len() int + func (ip IPv4) Padding() int + func (ip IPv4) Serialize() []byte + func (ip IPv4) String() string + func (ip IPv4) Type() TypeID + type Integer32 int32 + func (n Integer32) Len() int + func (n Integer32) Padding() int + func (n Integer32) Serialize() []byte + func (n Integer32) String() string + func (n Integer32) Type() TypeID + type Integer64 int64 + func (n Integer64) Len() int + func (n Integer64) Padding() int + func (n Integer64) Serialize() []byte + func (n Integer64) String() string + func (n Integer64) Type() TypeID + type OctetString string + func (s OctetString) Len() int + func (s OctetString) Padding() int + func (s OctetString) Serialize() []byte + func (s OctetString) String() string + func (s OctetString) Type() TypeID + type QoSFilterRule OctetString + func (s QoSFilterRule) Len() int + func (s QoSFilterRule) Padding() int + func (s QoSFilterRule) Serialize() []byte + func (s QoSFilterRule) String() string + func (s QoSFilterRule) Type() TypeID + type Time time.Time + func (t Time) Len() int + func (t Time) Padding() int + func (t Time) Serialize() []byte + func (t Time) String() string + func (t Time) Type() TypeID + type Type interface + Len func() int + Padding func() int + Serialize func() []byte + String func() string + Type func() TypeID + func Decode(Type TypeID, b []byte) (Type, error) + func DecodeAddress(b []byte) (Type, error) + func DecodeDiameterIdentity(b []byte) (Type, error) + func DecodeDiameterURI(b []byte) (Type, error) + func DecodeEnumerated(b []byte) (Type, error) + func DecodeFloat32(b []byte) (Type, error) + func DecodeFloat64(b []byte) (Type, error) + func DecodeGrouped(b []byte) (Type, error) + func DecodeIPFilterRule(b []byte) (Type, error) + func DecodeIPv4(b []byte) (Type, error) + func DecodeInteger32(b []byte) (Type, error) + func DecodeInteger64(b []byte) (Type, error) + func DecodeOctetString(b []byte) (Type, error) + func DecodeQoSFilterRule(b []byte) (Type, error) + func DecodeTime(b []byte) (Type, error) + func DecodeUTF8String(b []byte) (Type, error) + func DecodeUnknown(b []byte) (Type, error) + func DecodeUnsigned32(b []byte) (Type, error) + func DecodeUnsigned64(b []byte) (Type, error) + type TypeID int + const AddressType + const DiameterIdentityType + const DiameterURIType + const EnumeratedType + const Float32Type + const Float64Type + const GroupedType + const IPFilterRuleType + const IPv4Type + const Integer32Type + const Integer64Type + const OctetStringType + const QoSFilterRuleType + const TimeType + const UTF8StringType + const UnknownType + const Unsigned32Type + const Unsigned64Type + type UTF8String OctetString + func (s UTF8String) Len() int + func (s UTF8String) Padding() int + func (s UTF8String) Serialize() []byte + func (s UTF8String) String() string + func (s UTF8String) Type() TypeID + type Unknown []byte + func (u Unknown) Len() int + func (u Unknown) Padding() int + func (u Unknown) Serialize() []byte + func (u Unknown) String() string + func (u Unknown) Type() TypeID + type Unsigned32 uint32 + func (n Unsigned32) Len() int + func (n Unsigned32) Padding() int + func (n Unsigned32) Serialize() []byte + func (n Unsigned32) String() string + func (n Unsigned32) Type() TypeID + type Unsigned64 uint64 + func (n Unsigned64) Len() int + func (n Unsigned64) Padding() int + func (n Unsigned64) Serialize() []byte + func (n Unsigned64) String() string + func (n Unsigned64) Type() TypeID