Documentation ¶
Index ¶
- type Client
- func (m *Client) Mutation(ctx context.Context, payload interface{}, variables map[string]interface{}) error
- func (m *Client) Query(ctx context.Context, query interface{}, variables map[string]interface{}) error
- func (m *Client) QueryRaw(ctx context.Context, req *gqV2.Request, resp interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
graphql client:
func (*Client) Mutation ¶
func (m *Client) Mutation(ctx context.Context, payload interface{}, variables map[string]interface{}) error
HTTP POST: create
Click to show internal directories.
Click to hide internal directories.