api

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentDeliveryNetworkCreateV1

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

func ContentDeliveryNetworkDeleteV1

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

func ContentDeliveryNetworkGetV1

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

func ContentDeliveryNetworkUpdateV1

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

func Discovery

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

func GetVersion

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

func Logger

func Logger(inner http.Handler, name string) http.Handler

func NewRouter

func NewRouter() *mux.Router

Types

type ContentDeliveryNetwork

type ContentDeliveryNetwork struct {
	Id        string   `json:"id"`
	Label     string   `json:"label"`
	Ips       []string `json:"ips"`
	Hostnames []string `json:"hostnames"`
}

type Default

type Default struct {
}

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

type Routes

type Routes []Route

Jump to

Keyboard shortcuts

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