Documentation
¶
Index ¶
Constants ¶
View Source
const (
QueryReviewsOfMe = `` /* 126-byte string literal not displayed */
)
Variables ¶
View Source
var ( //go:embed config.json RouterConfigJson []byte //go:embed accounts/graph/schema.graphqls AccountSDL []byte //go:embed products/graph/schema.graphqls ProductsSDL []byte //go:embed reviews/graph/schema.graphqls ReviewsSDL []byte )
Functions ¶
This section is empty.
Types ¶
type FederationSetup ¶
type FederationSetup struct {
AccountsUpstreamServer *httptest.Server
ProductsUpstreamServer *httptest.Server
ReviewsUpstreamServer *httptest.Server
GatewayServer *httptest.Server
}
func NewFederationSetup ¶
func NewFederationSetup(addGateway ...func(s *FederationSetup) (*httptest.Server, error)) (*FederationSetup, error)
func (*FederationSetup) Close ¶
func (f *FederationSetup) Close()
Directories
¶
| Path | Synopsis |
|---|---|
|
graph
This file will not be regenerated automatically.
|
This file will not be regenerated automatically. |
|
httphandler
Package httphandler handles GraphQL HTTP Requests including WebSocket Upgrades.
|
Package httphandler 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. |
Click to show internal directories.
Click to hide internal directories.