helpers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package helpers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHTTPClient

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

MockHTTPClient is a mock of HTTPClient interface

func NewMockHTTPClient

func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient

NewMockHTTPClient creates a new mock instance

func (*MockHTTPClient) Do

func (m *MockHTTPClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient

func (*MockHTTPClientMockRecorder) Do

func (mr *MockHTTPClientMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

type StaticStore

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

StaticStore for token.

func NewStaticStore

func NewStaticStore(t string) *StaticStore

NewStaticStore returns new static store.

func (*StaticStore) Refresh

func (s *StaticStore) Refresh(c *tuyacloud.Client) error

Refresh for StaticStore.Refresh()

func (*StaticStore) Token

func (s *StaticStore) Token() string

Token for StaticStore.Token()

Jump to

Keyboard shortcuts

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