shadowAPI

package
v0.6.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package shadowAPI is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Check(ctx *fasthttp.RequestCtx) error
}

func New

func New(config *config.ShadowAPI, logger *logrus.Logger) Checker

type MockChecker

type MockChecker struct {
	// contains filtered or unexported fields
}

MockChecker is a mock of Checker interface.

func NewMockChecker

func NewMockChecker(ctrl *gomock.Controller) *MockChecker

NewMockChecker creates a new mock instance.

func (*MockChecker) Check

func (m *MockChecker) Check(ctx *fasthttp.RequestCtx) error

Check mocks base method.

func (*MockChecker) EXPECT

func (m *MockChecker) EXPECT() *MockCheckerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockCheckerMockRecorder

type MockCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCheckerMockRecorder is the mock recorder for MockChecker.

func (*MockCheckerMockRecorder) Check

func (mr *MockCheckerMockRecorder) Check(ctx interface{}) *gomock.Call

Check indicates an expected call of Check.

type ShadowAPI

type ShadowAPI struct {
	Config *config.ShadowAPI
	Logger *logrus.Logger
}

func (*ShadowAPI) Check

func (s *ShadowAPI) Check(ctx *fasthttp.RequestCtx) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL