server

package
v0.0.0-...-a8c2199 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolvers

func NewResolvers(cli apery.AperyClient) pkg.ResolverRoot

func NewServer

func NewServer(port int, aperyBin string) *http.Server

Types

type HasuraConfig

type HasuraConfig struct {
	HasuraEndpoint    string `validate:"required"`
	HasuraAdminSecret string `validate:"required"`
}

type Resolvers

type Resolvers struct {
	// contains filtered or unexported fields
}

func (*Resolvers) Mutation

func (r *Resolvers) Mutation() pkg.MutationResolver

func (*Resolvers) Query

func (r *Resolvers) Query() pkg.QueryResolver

Jump to

Keyboard shortcuts

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