Showing 26 of 26 total issues

exported method HostsBlacklist.IsBad should have comment or be unexported
Open

func (hb *HostsBlacklist) IsBad(_ context.Context, msg *queue.DomainAccessMessage) bool {
Severity: Minor
Found in pkg/hosts/hosts.go by golint

type name will be used as hosts.HostsBlacklist by other packages, and that stutters; consider calling this Blacklist
Open

type HostsBlacklist struct{}
Severity: Minor
Found in pkg/hosts/hosts.go by golint

exported method HostsBlacklist.IsAsync should have comment or be unexported
Open

func (hb *HostsBlacklist) IsAsync() bool {
Severity: Minor
Found in pkg/hosts/hosts.go by golint

exported type CacheBackend should have comment or be unexported
Open

type CacheBackend interface {
Severity: Minor
Found in pkg/cache/backend.go by golint

exported method HostsBlacklist.Connect should have comment or be unexported
Open

func (hb *HostsBlacklist) Connect() error {
Severity: Minor
Found in pkg/hosts/hosts.go by golint

exported method MemoryBackend.WithContext should have comment or be unexported
Open

func (mb *MemoryBackend) WithContext(_ context.Context) CacheBackend {
Severity: Minor
Found in pkg/cache/memory_backend.go by golint
Severity
Category
Status
Source
Language