Documentation
¶
Overview ¶
Package mock_oauther is a generated GoMock package.
Index ¶
- type MockOAuther
- func (m *MockOAuther) AddPayload(arg0 string, arg1 []byte) error
- func (m *MockOAuther) Deauthorize(arg0 string) error
- func (m *MockOAuther) EXPECT() *MockOAutherMockRecorder
- func (m *MockOAuther) GetConnectURL() string
- func (m *MockOAuther) GetToken(arg0 string) (*oauth2.Token, error)
- func (m *MockOAuther) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
- type MockOAutherMockRecorder
- func (mr *MockOAutherMockRecorder) AddPayload(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOAutherMockRecorder) Deauthorize(arg0 interface{}) *gomock.Call
- func (mr *MockOAutherMockRecorder) GetConnectURL() *gomock.Call
- func (mr *MockOAutherMockRecorder) GetToken(arg0 interface{}) *gomock.Call
- func (mr *MockOAutherMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOAuther ¶
type MockOAuther struct {
// contains filtered or unexported fields
}
MockOAuther is a mock of OAuther interface
func NewMockOAuther ¶
func NewMockOAuther(ctrl *gomock.Controller) *MockOAuther
NewMockOAuther creates a new mock instance
func (*MockOAuther) AddPayload ¶
func (m *MockOAuther) AddPayload(arg0 string, arg1 []byte) error
AddPayload mocks base method
func (*MockOAuther) Deauthorize ¶
func (m *MockOAuther) Deauthorize(arg0 string) error
Deauthorize mocks base method
func (*MockOAuther) EXPECT ¶
func (m *MockOAuther) EXPECT() *MockOAutherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOAuther) GetConnectURL ¶
func (m *MockOAuther) GetConnectURL() string
GetConnectURL mocks base method
func (*MockOAuther) GetToken ¶
func (m *MockOAuther) GetToken(arg0 string) (*oauth2.Token, error)
GetToken mocks base method
func (*MockOAuther) ServeHTTP ¶
func (m *MockOAuther) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
ServeHTTP mocks base method
type MockOAutherMockRecorder ¶
type MockOAutherMockRecorder struct {
// contains filtered or unexported fields
}
MockOAutherMockRecorder is the mock recorder for MockOAuther
func (*MockOAutherMockRecorder) AddPayload ¶
func (mr *MockOAutherMockRecorder) AddPayload(arg0, arg1 interface{}) *gomock.Call
AddPayload indicates an expected call of AddPayload
func (*MockOAutherMockRecorder) Deauthorize ¶
func (mr *MockOAutherMockRecorder) Deauthorize(arg0 interface{}) *gomock.Call
Deauthorize indicates an expected call of Deauthorize
func (*MockOAutherMockRecorder) GetConnectURL ¶
func (mr *MockOAutherMockRecorder) GetConnectURL() *gomock.Call
GetConnectURL indicates an expected call of GetConnectURL
func (*MockOAutherMockRecorder) GetToken ¶
func (mr *MockOAutherMockRecorder) GetToken(arg0 interface{}) *gomock.Call
GetToken indicates an expected call of GetToken
func (*MockOAutherMockRecorder) ServeHTTP ¶
func (mr *MockOAutherMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
ServeHTTP indicates an expected call of ServeHTTP