federation

package module
v0.0.0-...-c39d860 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 4 Imported by: 0

README

Federation Demo

Getting started

  1. Install go modules
go mod download
  1. Run start script
chmod +x start.sh
./start.sh

Documentation

Index

Constants

View Source
const (
	QueryReviewsOfMe = `` /* 126-byte string literal not displayed */

	SubscriptionUpdatedPrice = `subscription UpdatedPrice {
  updatedPrice {
    name
    price
  }
}`
)

Variables

This section is empty.

Functions

func LoadSDLFromExamplesDirectoryWithinPkg

func LoadSDLFromExamplesDirectoryWithinPkg(upstream Upstream) ([]byte, error)

Types

type Upstream

type Upstream string
const (
	UpstreamAccounts Upstream = "accounts"
	UpstreamProducts Upstream = "products"
	UpstreamReviews  Upstream = "reviews"
)

Directories

Path Synopsis
graph
This file will not be regenerated automatically.
This file will not be regenerated automatically.
http
Package http handles GraphQL HTTP Requests including WebSocket Upgrades.
Package http handles GraphQL HTTP Requests including WebSocket Upgrades.
graph
This file will not be regenerated automatically.
This file will not be regenerated automatically.
graph
This file will not be regenerated automatically.
This file will not be regenerated automatically.

Jump to

Keyboard shortcuts

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