Documentation ¶
Index ¶
- type AddressSubject
- func (subject *AddressSubject) DisplayString() string
- func (subject *AddressSubject) IsDomain()
- func (subject *AddressSubject) IsIPv4()
- func (subject *AddressSubject) IsIPv6()
- func (subject *AddressSubject) IsNotDomain()
- func (subject *AddressSubject) IsNotIPv4()
- func (subject *AddressSubject) IsNotIPv6()
- func (subject *AddressSubject) Named(name string) *AddressSubject
- type DestinationSubject
- type IPSubject
- type PortSubject
- func (subject *PortSubject) DisplayString() string
- func (subject *PortSubject) Equals(expectation v2net.Port)
- func (subject *PortSubject) GreaterThan(expectation v2net.Port)
- func (subject *PortSubject) IsValid()
- func (subject *PortSubject) LessThan(expectation v2net.Port)
- func (subject *PortSubject) Named(name string) *PortSubject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressSubject ¶
func Address ¶
func Address(value v2net.Address) *AddressSubject
func (*AddressSubject) DisplayString ¶
func (subject *AddressSubject) DisplayString() string
func (*AddressSubject) IsDomain ¶
func (subject *AddressSubject) IsDomain()
func (*AddressSubject) IsIPv4 ¶
func (subject *AddressSubject) IsIPv4()
func (*AddressSubject) IsIPv6 ¶
func (subject *AddressSubject) IsIPv6()
func (*AddressSubject) IsNotDomain ¶
func (subject *AddressSubject) IsNotDomain()
func (*AddressSubject) IsNotIPv4 ¶
func (subject *AddressSubject) IsNotIPv4()
func (*AddressSubject) IsNotIPv6 ¶
func (subject *AddressSubject) IsNotIPv6()
func (*AddressSubject) Named ¶
func (subject *AddressSubject) Named(name string) *AddressSubject
type DestinationSubject ¶
func Destination ¶
func Destination(value v2net.Destination) *DestinationSubject
func (*DestinationSubject) DisplayString ¶
func (this *DestinationSubject) DisplayString() string
func (*DestinationSubject) IsNotTCP ¶
func (this *DestinationSubject) IsNotTCP()
func (*DestinationSubject) IsNotUDP ¶
func (this *DestinationSubject) IsNotUDP()
func (*DestinationSubject) IsTCP ¶
func (this *DestinationSubject) IsTCP()
func (*DestinationSubject) IsUDP ¶
func (this *DestinationSubject) IsUDP()
func (*DestinationSubject) Named ¶
func (this *DestinationSubject) Named(name string) *DestinationSubject
type IPSubject ¶
func (*IPSubject) DisplayString ¶
type PortSubject ¶
func Port ¶
func Port(value v2net.Port) *PortSubject
func (*PortSubject) DisplayString ¶
func (subject *PortSubject) DisplayString() string
func (*PortSubject) Equals ¶
func (subject *PortSubject) Equals(expectation v2net.Port)
func (*PortSubject) GreaterThan ¶
func (subject *PortSubject) GreaterThan(expectation v2net.Port)
func (*PortSubject) IsValid ¶
func (subject *PortSubject) IsValid()
func (*PortSubject) LessThan ¶
func (subject *PortSubject) LessThan(expectation v2net.Port)
func (*PortSubject) Named ¶
func (subject *PortSubject) Named(name string) *PortSubject
Click to show internal directories.
Click to hide internal directories.