inputs

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateConnectionInputObject = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "CreateConnectionInput",
	Fields: graphql.InputObjectConfigFieldMap{
		"name": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
		"dsn": &graphql.InputObjectFieldConfig{
			Type: graphql.NewNonNull(graphql.String),
		},
	},
})
View Source
var RedisRecordInputObject = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "RedisRecordInput",
	Fields: graphql.InputObjectConfigFieldMap{
		"key": &graphql.InputObjectFieldConfig{
			Type: graphql.ID,
		},
		"type": &graphql.InputObjectFieldConfig{
			Type: types.RedisRecordTypeEnum,
		},
		"value": &graphql.InputObjectFieldConfig{
			Type: scalars.JsonType,
		},
		"expireAt": &graphql.InputObjectFieldConfig{
			Type: graphql.Float,
		},
	},
})

Functions

This section is empty.

Types

type CreateConnectionInput

type CreateConnectionInput struct {
	Name *string `json:"name"`
	DSN  string  `json:"dsn"`
}

Jump to

Keyboard shortcuts

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