app

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GetValue_Operation = `
query GetValue {
	getValue {
		value
	}
}
`

The query or mutation executed by GetValue.

View Source
const SetValue_Operation = `
mutation SetValue ($value: ValueInput!) {
	setValue(input: $value) {
		value
	}
}
`

The query or mutation executed by SetValue.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetValueGetValueValueOutput

type GetValueGetValueValueOutput struct {
	Value string `json:"value"`
}

GetValueGetValueValueOutput includes the requested fields of the GraphQL type ValueOutput.

func (*GetValueGetValueValueOutput) GetValue

func (v *GetValueGetValueValueOutput) GetValue() string

GetValue returns GetValueGetValueValueOutput.Value, and is useful for accessing the field via an interface.

type GetValueResponse

type GetValueResponse struct {
	GetValue GetValueGetValueValueOutput `json:"getValue"`
}

GetValueResponse is returned by GetValue on success.

func GetValue

func GetValue(
	ctx_ context.Context,
	client_ graphql.Client,
) (*GetValueResponse, error)

func (*GetValueResponse) GetGetValue

GetGetValue returns GetValueResponse.GetValue, and is useful for accessing the field via an interface.

type SetValueResponse

type SetValueResponse struct {
	SetValue SetValueSetValueValueOutput `json:"setValue"`
}

SetValueResponse is returned by SetValue on success.

func SetValue

func SetValue(
	ctx_ context.Context,
	client_ graphql.Client,
	value ValueInput,
) (*SetValueResponse, error)

func (*SetValueResponse) GetSetValue

GetSetValue returns SetValueResponse.SetValue, and is useful for accessing the field via an interface.

type SetValueSetValueValueOutput

type SetValueSetValueValueOutput struct {
	Value string `json:"value"`
}

SetValueSetValueValueOutput includes the requested fields of the GraphQL type ValueOutput.

func (*SetValueSetValueValueOutput) GetValue

func (v *SetValueSetValueValueOutput) GetValue() string

GetValue returns SetValueSetValueValueOutput.Value, and is useful for accessing the field via an interface.

type ValueInput

type ValueInput struct {
	Value string `json:"value"`
}

func (*ValueInput) GetValue

func (v *ValueInput) GetValue() string

GetValue returns ValueInput.Value, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL