Documentation ¶
Index ¶
- func Ping(c *Client) (err error)
- type Client
- func (c *Client) Compile(req *gpyrpc.ExecProgram_Args) (*Result, error)
- func (c *Client) Delete(url string, input interface{}, output interface{}) (*http.Response, error)
- func (c *Client) Get(url string, output interface{}) (*http.Response, error)
- func (c *Client) Post(url string, input interface{}, output interface{}) (*http.Response, error)
- func (c *Client) Put(url string, input interface{}, output interface{}) (*http.Response, error)
- type PingResponse
- type PingResult
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type PingResponse ¶
type PingResponse struct { Error string `json:"error"` Result *PingResult `json:"result"` }
type PingResult ¶
type PingResult struct {
Value string `json:"value,omitempty"`
}
type Result ¶
type Result struct { Error string `json:"error"` Result *gpyrpc.ExecProgram_Result `json:"result"` }
Click to show internal directories.
Click to hide internal directories.