Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostMatcher ¶
type HostMatcher[T comparable] struct { // contains filtered or unexported fields }
func NewHostMatcher ¶
func NewHostMatcher[T comparable]() *HostMatcher[T]
func (*HostMatcher[T]) AddExceptionRule ¶
func (hm *HostMatcher[T]) AddExceptionRule(hostnamePatterns string, data T) error
func (*HostMatcher[T]) AddPrimaryRule ¶
func (hm *HostMatcher[T]) AddPrimaryRule(hostnamePatterns string, data T) error
func (*HostMatcher[T]) Get ¶
func (hm *HostMatcher[T]) Get(hostname string) []T
Click to show internal directories.
Click to hide internal directories.