server

package
v0.0.0-...-f1c2737 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListSitesResponse

type ListSitesResponse struct {
	Sites []sites.Site `json:"sites"`
}

type SitesServer

type SitesServer struct {
	ApiVersion string
	Config     *config.ServiceConfig
}

func New

func New(cfg *config.ServiceConfig) *SitesServer

func (*SitesServer) CreateSiteHandler

func (server *SitesServer) CreateSiteHandler(request *restful.Request, response *restful.Response)

func (*SitesServer) DeleteSiteHandler

func (server *SitesServer) DeleteSiteHandler(request *restful.Request, response *restful.Response)

func (*SitesServer) DescribeSiteHandler

func (server *SitesServer) DescribeSiteHandler(request *restful.Request, response *restful.Response)

func (*SitesServer) GetSitesAPI

func (server *SitesServer) GetSitesAPI() *restful.WebService

func (*SitesServer) ListSitesHandler

func (server *SitesServer) ListSitesHandler(request *restful.Request, response *restful.Response)

func (*SitesServer) UpdateSiteHandler

func (server *SitesServer) UpdateSiteHandler(request *restful.Request, response *restful.Response)

Jump to

Keyboard shortcuts

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