Documentation ¶
Index ¶
- Constants
- func AvailabilityHandler(opts *SubgraphOptions) http.Handler
- func CountriesHandler(opts *SubgraphOptions) http.Handler
- func EmployeesHandler(opts *SubgraphOptions) http.Handler
- func FamilyHandler(opts *SubgraphOptions) http.Handler
- func HobbiesHandler(opts *SubgraphOptions) http.Handler
- func MoodHandler(opts *SubgraphOptions) http.Handler
- func NewDemoServer(schema graphql.ExecutableSchema) *handler.Server
- func ProductsFGHandler(opts *SubgraphOptions) http.Handler
- func ProductsHandler(opts *SubgraphOptions) http.Handler
- func Test1Handler(opts *SubgraphOptions) http.Handler
- type Config
- type Ports
- type SubgraphOptions
- type Subgraphs
Constants ¶
View Source
const ( EmployeesDefaultDemoURL = "http://localhost:4001/graphql" FamilyDefaultDemoURL = "http://localhost:4002/graphql" HobbiesDefaultDemoURL = "http://localhost:4003/graphql" ProductsDefaultDemoURL = "http://localhost:4004/graphql" Test1DefaultDemoURL = "http://localhost:4006/graphql" AvailabilityDefaultDemoURL = "http://localhost:4007/graphql" MoodDefaultDemoURL = "http://localhost:4008/graphql" CountriesDefaultDemoURL = "http://localhost:4009/graphql" ProductsFgDefaultDemoURL = "http://localhost:4010/graphql" )
Variables ¶
This section is empty.
Functions ¶
func AvailabilityHandler ¶
func AvailabilityHandler(opts *SubgraphOptions) http.Handler
func CountriesHandler ¶
func CountriesHandler(opts *SubgraphOptions) http.Handler
func EmployeesHandler ¶
func EmployeesHandler(opts *SubgraphOptions) http.Handler
func FamilyHandler ¶
func FamilyHandler(opts *SubgraphOptions) http.Handler
func HobbiesHandler ¶
func HobbiesHandler(opts *SubgraphOptions) http.Handler
func MoodHandler ¶
func MoodHandler(opts *SubgraphOptions) http.Handler
func NewDemoServer ¶
func NewDemoServer(schema graphql.ExecutableSchema) *handler.Server
func ProductsFGHandler ¶
func ProductsFGHandler(opts *SubgraphOptions) http.Handler
func ProductsHandler ¶
func ProductsHandler(opts *SubgraphOptions) http.Handler
func Test1Handler ¶
func Test1Handler(opts *SubgraphOptions) http.Handler
Types ¶
type Ports ¶
type SubgraphOptions ¶
type SubgraphOptions struct {
NatsPubSubByProviderID map[string]pubsub_datasource.NatsPubSub
}
Click to show internal directories.
Click to hide internal directories.