Unleash/unleash-client-go

View on GitHub
unleash_mock.go

Summary

Maintainability
A
0 mins
Test Coverage

exported method MockedListener.OnRegistered should have comment or be unexported
Open

func (l *MockedListener) OnRegistered(payload ClientData) {
Severity: Minor
Found in unleash_mock.go by golint

exported method MockedListener.OnWarning should have comment or be unexported
Open

func (l *MockedListener) OnWarning(warning error) {
Severity: Minor
Found in unleash_mock.go by golint

exported method MockedListener.OnCount should have comment or be unexported
Open

func (l *MockedListener) OnCount(name string, enabled bool) {
Severity: Minor
Found in unleash_mock.go by golint

exported method MockedListener.OnSent should have comment or be unexported
Open

func (l *MockedListener) OnSent(payload MetricsData) {
Severity: Minor
Found in unleash_mock.go by golint

exported type MockedListener should have comment or be unexported
Open

type MockedListener struct {
Severity: Minor
Found in unleash_mock.go by golint

exported method MockedListener.OnError should have comment or be unexported
Open

func (l *MockedListener) OnError(err error) {
Severity: Minor
Found in unleash_mock.go by golint

const mockInstanceId should be mockInstanceID
Open

    mockInstanceId = "1234"
Severity: Minor
Found in unleash_mock.go by golint

exported method MockedListener.OnReady should have comment or be unexported
Open

func (l *MockedListener) OnReady() {
Severity: Minor
Found in unleash_mock.go by golint

There are no issues that match your filters.

Category
Status