Documentation ¶
Index ¶
- type AVP
- type CapabilityExchangeConfig
- type DataType
- func (d *DataType) XAddress(value string) datatype.Type
- func (d *DataType) XDiameterIdentity(value string) datatype.Type
- func (d *DataType) XDiameterURI(value string) datatype.Type
- func (d *DataType) XEnumerated(value int32) datatype.Type
- func (d *DataType) XFloat32(value float32) datatype.Type
- func (d *DataType) XFloat64(value float64) datatype.Type
- func (d *DataType) XGrouped(avps []*diam.AVP) datatype.Type
- func (d *DataType) XIPFilterRule(value string) datatype.Type
- func (d *DataType) XIPv4(value string) datatype.Type
- func (d *DataType) XIPv6(value string) datatype.Type
- func (d *DataType) XInteger32(value int32) datatype.Type
- func (d *DataType) XInteger64(value int64) datatype.Type
- func (d *DataType) XOctetString(value string) datatype.Type
- func (d *DataType) XQoSFilterRule(value string) datatype.Type
- func (d *DataType) XTime(value time.Time) datatype.Type
- func (d *DataType) XUTF8String(value string) datatype.Type
- func (d *DataType) XUnsigned32(value uint32) datatype.Type
- func (d *DataType) XUnsigned64(value uint64) datatype.Type
- type Diameter
- type DiameterClient
- type DiameterConfig
- type DiameterMessage
- type DiameterMetrics
- type Dict
- type Duration
- type GroupedAVP
- type RootModule
- type TLSConfig
- type VendorSpecificApplicationIDConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityExchangeConfig ¶
type CapabilityExchangeConfig struct { VendorID *uint32 `json:"vendorID"` ProductName *string `json:"productName,omitempty"` OriginHost *string `json:"originHost,omitempty"` OriginRealm *string `json:"originRealm,omitempty"` FirmwareRevision *uint32 `json:"firmwareRevision,omitempty"` HostIPAddresses *[]string `json:"hostIPAddresses,omitempty"` }
type Diameter ¶
type Diameter struct {
// contains filtered or unexported fields
}
func (*Diameter) NewMessage ¶
func (*Diameter) NewMessage(cmd uint32, appid uint32) *DiameterMessage
type DiameterClient ¶
type DiameterClient struct {
// contains filtered or unexported fields
}
func (*DiameterClient) Connect ¶
func (c *DiameterClient) Connect(address string) error
func (*DiameterClient) Send ¶
func (c *DiameterClient) Send(msg *DiameterMessage) (*DiameterMessage, error)
type DiameterConfig ¶
type DiameterConfig struct { RequestTimeout *Duration `json:"requestTimeout,omitempty"` MaxRetransmits *uint `json:"maxRetransmits,omitempty"` RetransmitInterval *Duration `json:"retransmitInterval,omitempty"` EnableWatchdog *bool `json:"enableWatchdog,omitempty"` WatchdogInterval *Duration `json:"watchdogInterval,omitempty"` WatchdogStream *uint `json:"watchdogStream,omitempty"` SupportedVendorID *[]uint32 `json:"supportedVendorID,omitempty"` AcctApplicationID *[]uint32 `json:"acctApplicationId,omitempty"` AuthApplicationId *[]uint32 `json:"authApplicationId,omitempty"` VendorSpecificApplicationID *[]VendorSpecificApplicationIDConfig `json:"vendorSpecificApplicationId,omitempty"` CapabilityExchange *CapabilityExchangeConfig `json:"capabilityExchange,omitempty"` TransportProtocol *string `josn:"transportProtocol,omitempty"` TLS *TLSConfig `json:"tls,omitempty"` }
type DiameterMessage ¶
type DiameterMessage struct {
// contains filtered or unexported fields
}
func (*DiameterMessage) Add ¶
func (m *DiameterMessage) Add(a *diam.AVP)
func (*DiameterMessage) FindAVP ¶
func (m *DiameterMessage) FindAVP(code uint32, vendor uint32) (interface{}, error)
func (*DiameterMessage) String ¶
func (m *DiameterMessage) String() string
type DiameterMetrics ¶ added in v0.1.2
type GroupedAVP ¶
type GroupedAVP struct {
// contains filtered or unexported fields
}
type RootModule ¶
type RootModule struct{}
func New ¶ added in v0.1.2
func New() *RootModule
func (*RootModule) NewModuleInstance ¶ added in v0.1.2
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
type VendorSpecificApplicationIDConfig ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.