services

package
Version: v0.0.0-...-07f90b3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApiEndpoints

func CreateApiEndpoints(router *mux.Router,
	authFunc func(h http.HandlerFunc) http.HandlerFunc,
	dnsHandler func(serv RestService) http.HandlerFunc,
	pipe net.NetPipe,
	store registry.Store,
	logger log.Logger,
	hostBaseUrl string)

Types

type RestService

type RestService interface {
	Create(w http.ResponseWriter, r *http.Request)
	Read(w http.ResponseWriter, r *http.Request)
	Update(w http.ResponseWriter, r *http.Request)
	Delete(w http.ResponseWriter, r *http.Request)
}

func NewV1DnsGroupResourceDetailsRestService

func NewV1DnsGroupResourceDetailsRestService(pipe net.NetPipe, store registry.Store, logger log.Logger, hostBaseUrl string) RestService

func NewV1DnsGroupResourcesRestService

func NewV1DnsGroupResourcesRestService(pipe net.NetPipe, store registry.Store, logger log.Logger, hostBaseUrl string) RestService

func NewV1DnsGroupRestService

func NewV1DnsGroupRestService(pipe net.NetPipe, store registry.Store, logger log.Logger, hostBaseUrl string) RestService

func NewV1DnsGroupsRestService

func NewV1DnsGroupsRestService(pipe net.NetPipe, store registry.Store, logger log.Logger, hostBaseUrl string) RestService

func NewV1DnsRootRestService

func NewV1DnsRootRestService(pipe net.NetPipe, store registry.Store, logger log.Logger, hostBaseUrl string) RestService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL