Documentation
¶
Index ¶
- Constants
- func NewDomain(ctx context.Context, _ adapter.Core, logger log.Logger, tag string, args any) (adapter.PluginMatcher, error)
- type Args
- type Domain
- func (d *Domain) APIHandler() chi.Router
- func (d *Domain) LoadRunningArgs(_ context.Context, _ any) (uint16, error)
- func (d *Domain) Match(ctx context.Context, dnsCtx *adapter.DNSContext, _ uint16) (bool, error)
- func (d *Domain) Start() error
- func (d *Domain) Tag() string
- func (d *Domain) Type() string
Constants ¶
View Source
const Type = "domain"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
func (*Domain) APIHandler ¶
func (d *Domain) APIHandler() chi.Router
func (*Domain) LoadRunningArgs ¶
Click to show internal directories.
Click to hide internal directories.