teamserver

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service added in v0.3.0

type Service struct {
	Log    *zap.Logger
	Graph  *ent.Client
	Events event.Publisher
	OAuth  *oauth2.Config
	Auth   service.Authenticator
}

Service provides HTTP handlers to compose the CDN, GraphQL, and WWW services.

func (*Service) HTTP added in v0.3.0

func (svc *Service) HTTP(router *http.ServeMux)

HTTP registers http handlers for the Teamserver.

func (*Service) HandleStatus added in v0.3.0

func (svc *Service) HandleStatus(w http.ResponseWriter, r *http.Request) error

HandleStatus returns JSON status: OK if the teamserver is running without error.

Jump to

Keyboard shortcuts

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