Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- Constants
- type Client
- func (c *Client) Fetch(user *scql.SCDBCredential, sessionId string) (*scql.SCDBQueryResultResponse, error)
- func (c *Client) FetchOnce(user *scql.SCDBCredential, sessionId string) (*scql.SCDBQueryResultResponse, error)
- func (c *Client) SetCallbackURL(callbackURL string)
- func (c *Client) SetDBName(dbName string)
- func (c *Client) Submit(user *scql.SCDBCredential, sql string) (*scql.SCDBSubmitResponse, error)
- func (c *Client) SubmitAndGet(user *scql.SCDBCredential, sql string) (*scql.SCDBQueryResultResponse, error)
- type MockhttpClientI
- type MockhttpClientIMockRecorder
Constants ¶
View Source
const ( SubmitPath = `/public/submit_query` SubmitAndGetPath = `/public/submit_and_get` FetchPath = `/public/fetch_result` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewDefaultClient ¶
func (*Client) Fetch ¶
func (c *Client) Fetch(user *scql.SCDBCredential, sessionId string) (*scql.SCDBQueryResultResponse, error)
func (*Client) FetchOnce ¶
func (c *Client) FetchOnce(user *scql.SCDBCredential, sessionId string) (*scql.SCDBQueryResultResponse, error)
func (*Client) SetCallbackURL ¶
func (*Client) Submit ¶
func (c *Client) Submit(user *scql.SCDBCredential, sql string) (*scql.SCDBSubmitResponse, error)
func (*Client) SubmitAndGet ¶
func (c *Client) SubmitAndGet(user *scql.SCDBCredential, sql string) (*scql.SCDBQueryResultResponse, error)
type MockhttpClientI ¶
type MockhttpClientI struct {
// contains filtered or unexported fields
}
MockhttpClientI is a mock of httpClientI interface.
func NewMockhttpClientI ¶
func NewMockhttpClientI(ctrl *gomock.Controller) *MockhttpClientI
NewMockhttpClientI creates a new mock instance.
func (*MockhttpClientI) EXPECT ¶
func (m *MockhttpClientI) EXPECT() *MockhttpClientIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockhttpClientIMockRecorder ¶
type MockhttpClientIMockRecorder struct {
// contains filtered or unexported fields
}
MockhttpClientIMockRecorder is the mock recorder for MockhttpClientI.
Click to show internal directories.
Click to hide internal directories.