Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolverType ¶
type ResolverType string
ResolverType enumerates the supported host resolvers
const ( // StringResolverType denotes a simple string resolver type StringResolverType ResolverType = "string" )
type StringResolver ¶
type StringResolver struct {
// contains filtered or unexported fields
}
StringResolver transforms a comma-separated list of hosts into an array. Sorting is enabled by default
func NewStringResolver ¶
func NewStringResolver(sorted bool) *StringResolver
NewStringResolver creates a new string-based hosts resolver
Click to show internal directories.
Click to hide internal directories.