handlers

package
v0.0.0-...-eedabaa Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGQLServer

func CreateGQLServer(r []*graphql.Object) *handler.Handler

CreateGQLServer creates a grapqhl playground

func GetMe

func GetMe(services services.Services) http.HandlerFunc

GetMe is simple keep-alive/ping handler

func Ping

func Ping() http.HandlerFunc

Ping is simple keep-alive/ping handler

func PlaygroundHanlder

func PlaygroundHanlder(handler *handler.Handler) http.HandlerFunc

PlaygroundHanlder registers a route for plaground access

Types

type GetMeResponse

type GetMeResponse struct {
	Success      bool                    `json:"success"`
	Data         *map[string]interface{} `json:"data"`
	ErrorMessage *string                 `json:"errorMessage"`
}

Jump to

Keyboard shortcuts

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