Back to godoc.org

Package client

v0.0.0-...-49d8a14
Latest Go to latest

The highest tagged major version is .

Published: Oct 6, 2020 | License: LGPL-3.0 | Module: git.sr.ht/~sircmpwn/gql.sr.ht

Index

func Execute

func Execute(ctx context.Context, username string, svc string,
	query GraphQLQuery, result interface{}) error

type GraphQLQuery

type GraphQLQuery struct {
	Query     string                 `json:"query"`
	Variables map[string]interface{} `json:"variables"`
}

type InternalAuth

type InternalAuth struct {
	Name     string `json:"name"`
	ClientID string `json:"client_id"`
	NodeID   string `json:"node_id"`
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier