Showing 26 of 26 total issues
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 type CacheBackend should have comment or be unexported Open
Open
type CacheBackend interface {
- Exclude checks
exported method HostsBlacklist.Connect should have comment or be unexported Open
Open
func (hb *HostsBlacklist) Connect() error {
- Exclude checks
exported method MemoryBackend.WithContext should have comment or be unexported Open
Open
func (mb *MemoryBackend) WithContext(_ context.Context) CacheBackend {
- Exclude checks