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