pkg/hosts/hosts.go
exported method HostsBlacklist.IsBad should have comment or be unexported Open
Open
func (hb *HostsBlacklist) IsBad(_ context.Context, msg *queue.DomainAccessMessage) bool {
- Exclude checks
type name will be used as hosts.HostsBlacklist by other packages, and that stutters; consider calling this Blacklist Open
Open
type HostsBlacklist struct{}
- Exclude checks
exported method HostsBlacklist.IsAsync should have comment or be unexported Open
Open
func (hb *HostsBlacklist) IsAsync() bool {
- Exclude checks
exported method HostsBlacklist.Connect should have comment or be unexported Open
Open
func (hb *HostsBlacklist) Connect() error {
- Exclude checks