server

package
v0.0.0-...-eddbae0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JWTSecret = []byte("4S72scrC7ESfJoyMST4EhnF2CyrvA0Xc79JaP2MU2onLTxGmsrwuZRP6X5zDIJA")
)

Functions

func RobotsTXTHandler

func RobotsTXTHandler(c *fiber.Ctx)

func RootHandler

func RootHandler(c *fiber.Ctx)

func Run

func Run(configPath string)

Types

type GraphQLHandler

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

func NewGraphQLHandler

func NewGraphQLHandler(ctx context.Context, jwtSecret *[]byte, schema *graphql.Schema) *GraphQLHandler

func (*GraphQLHandler) Query

func (h *GraphQLHandler) Query(c *fiber.Ctx)

Jump to

Keyboard shortcuts

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