mocks

package
v0.0.0-...-a448e87 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIAuth

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

MockIAuth is a mock of IAuth interface

func NewMockIAuth

func NewMockIAuth(ctrl *gomock.Controller) *MockIAuth

NewMockIAuth creates a new mock instance

func (*MockIAuth) API

func (m *MockIAuth) API() gin.HandlerFunc

API mocks base method

func (*MockIAuth) Auth

func (m *MockIAuth) Auth(arg0 auth.UserAuth) (string, error)

Auth mocks base method

func (*MockIAuth) EXPECT

func (m *MockIAuth) EXPECT() *MockIAuthMockRecorder

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

func (*MockIAuth) GetRequestCredential

func (m *MockIAuth) GetRequestCredential(arg0 string) (string, error)

GetRequestCredential mocks base method

func (*MockIAuth) Validate

func (m *MockIAuth) Validate(arg0, arg1 string) error

Validate mocks base method

func (*MockIAuth) Verify

func (m *MockIAuth) Verify(arg0 models.User) error

Verify mocks base method

func (*MockIAuth) View

func (m *MockIAuth) View() gin.HandlerFunc

View mocks base method

type MockIAuthMockRecorder

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

MockIAuthMockRecorder is the mock recorder for MockIAuth

func (*MockIAuthMockRecorder) API

func (mr *MockIAuthMockRecorder) API() *gomock.Call

API indicates an expected call of API

func (*MockIAuthMockRecorder) Auth

func (mr *MockIAuthMockRecorder) Auth(arg0 interface{}) *gomock.Call

Auth indicates an expected call of Auth

func (*MockIAuthMockRecorder) GetRequestCredential

func (mr *MockIAuthMockRecorder) GetRequestCredential(arg0 interface{}) *gomock.Call

GetRequestCredential indicates an expected call of GetRequestCredential

func (*MockIAuthMockRecorder) Validate

func (mr *MockIAuthMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate

func (*MockIAuthMockRecorder) Verify

func (mr *MockIAuthMockRecorder) Verify(arg0 interface{}) *gomock.Call

Verify indicates an expected call of Verify

func (*MockIAuthMockRecorder) View

func (mr *MockIAuthMockRecorder) View() *gomock.Call

View indicates an expected call of View

Jump to

Keyboard shortcuts

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