pkg/hosts/hosts.go

Summary

Maintainability
A
0 mins
Test Coverage
F
56%

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 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

There are no issues that match your filters.

Category
Status