api

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter(options RouterOptions) (*mux.Router, error)

GetRouter returns an http router that serves TestGrid's API It also instantiates necessary caching and i/o objects

Types

type RouterOptions

type RouterOptions struct {
	GcsCredentials string
	Hostname       string
	HomeBucket     string
}

RouterOptions are the options needed to GetRouter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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