subgraphs

package
v0.0.0-...-aaf44f5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableDebug bool
}

type SubgraphConfig

type SubgraphConfig struct {
	Name   string
	Schema graphql.ExecutableSchema
	Port   string
}

type Subgraphs

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

func New

func New(ctx context.Context, subgraphs ...SubgraphConfig) (*Subgraphs, error)

func (*Subgraphs) ListenAndServe

func (s *Subgraphs) ListenAndServe(ctx context.Context) error

func (*Subgraphs) Shutdown

func (s *Subgraphs) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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