static

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 12 Imported by: 3

README

This package uses https://github.com/GeertJohan/go.rice to embed the static files within the Go binary.

Install with:

go get github.com/GeertJohan/go.rice/rice

Generate the new rice-box.go:

go generate

Documentation

Overview

Code generated by rice embed-go; DO NOT EDIT.

Index

Constants

View Source
const (
	MIME_TYPE_CSS  = "text/css"
	MIME_TYPE_HTML = "text/html"
	MIME_TYPE_JS   = "application/javascript"
	MIME_TYPE_JSON = "application/json"
)
View Source
const IndexFilename = "graphiql.html"

Variables

This section is empty.

Functions

func RegisterStaticRoutes

func RegisterStaticRoutes(router *mux.Router, protocol, network, apiKey, jwtIssuerURL string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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