apiserver

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ip      = "localhost"
	Port    = "3333"
	Network = "tcp"
)

Variables

This section is empty.

Functions

func HandleQuery

func HandleQuery(w http.ResponseWriter, r *http.Request)

func MakeGzipHandler

func MakeGzipHandler(fn http.HandlerFunc) http.HandlerFunc

Types

type QueryParams

type QueryParams struct {
	Query string `json:"query"`
	Page  int    `json:"page"`
}

Jump to

Keyboard shortcuts

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