server

package
v0.0.0-...-495f4b4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotFound

func NotFound(c *gin.Context)

Types

type RequestInt32FeatureId

type RequestInt32FeatureId struct {
	FeatureId int32 `form:"featureId" binding:"required" json:"featureId"`
}

type RequestInt32ProjectFeaturesId

type RequestInt32ProjectFeaturesId struct {
	ProjectFeaturesId int32 `form:"projectFeaturesId" binding:"required" json:"projectFeaturesId"`
}

type RequestInt32ProjectId

type RequestInt32ProjectId struct {
	ProjectId int32 `form:"projectId" binding:"required" json:"projectId"`
}

type RequestInt32UriProjectId

type RequestInt32UriProjectId struct {
	ProjectId int32 `uri:"projectId" binding:"required" json:"projectId"`
}

type RequestPostEdit

type RequestPostEdit struct {
	RequestInt32ProjectFeaturesId
	RequestInt32ProjectId
	Version             featureVersion `form:"version" binding:"required" json:"version"`
	Type                string         `form:"type" binding:"required" json:"type"`
	ProjectFeaturesName string         `form:"projectFeaturesName" json:"projectFeaturesName"`
}

type RequestPostInstall

type RequestPostInstall struct {
	RequestInt32FeatureId
	RequestInt32ProjectId
	Version             featureVersion `form:"version" binding:"required" json:"version"`
	Type                string         `form:"type" binding:"required" json:"type"`
	ProjectFeaturesName string         `form:"projectFeaturesName" json:"projectFeaturesName"`
}

type RequestPutPreview

type RequestPutPreview struct {
	RequestInt32ProjectId
	Settings string `form:"settings" binding:"required" json:"settings"`
}

type RequestStringProjectId

type RequestStringProjectId struct {
	ProjectId string `form:"projectId" binding:"required" json:"projectId"`
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server Server

func NewServer

func NewServer() *Server

NewServer NewServer

func (*Server) Start

func (s *Server) Start()

Start Start server

Jump to

Keyboard shortcuts

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