Versions in this module Expand all Collapse all v1 v1.0.0 Feb 11, 2019 Changes in this version + type Client struct + func New(apiURL string, opts *Options) (*Client, error) + func (c *Client) Execute(req *Request) (*Response, error) + type Container struct + func (c *Container) To(t interface{}) error + type Data struct + func (d *Data) Container() *gabs.Container + func (d *Data) Path(p string) *Container + func (d *Data) UnmarshalJSON(db []byte) error + type HasuraQuery interface + String func() string + func NewMutation(str string, args ...interface{}) HasuraQuery + func NewQuery(str string, args ...interface{}) HasuraQuery + func NewSubscription(str string, args ...interface{}) HasuraQuery + type Model interface + Schema func() []string + Table func() string + type Mutation string + func (q Mutation) String() string + type Options struct + Header http.Header + type Query string + func (q Query) String() string + type Request struct + Query HasuraQuery + func HasuraRequest(query HasuraQuery, vars Variables) *Request + func (r *Request) Type() reflect.Type + type Response struct + Data *Data + Errors []interface{} + Subscription chan interface{} + type Subscription string + func (q Subscription) String() string + type Variables map[string]interface