gateway

package
v0.0.0-...-2887d17 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

README

Updating the API Schema

When updating the api.graphql schema file regenerate the generated code using gqlgen:

cd service/gateway 
go run github.com/99designs/gqlgen generate .

Make sure there are no errors.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents the gateway ingress server

func NewServer

func NewServer(
	usersClient users.Client,
	authClient auth.Client,
	messagingClient messaging.Client,
) (*Server, error)

NewServer creates a new Gateway ingress server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(resp http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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