pkg

package
v1.0.1-0...-cbd2a5d Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Form

type Form struct {
	DomainID int64  `json:"domain_id" schema:"domain_id"`
	Path     string `json:"path" schema:"path"`
	VCS      string `json:"vcs" schema:"vcs"`
	Root     string `json:"root" schema:"root"`
	Docs     string `json:"docs" schema:"docs"`
	// contains filtered or unexported fields
}

func (*Form) Create

func (f *Form) Create(ctx context.Context) (pkg *models.Package, err error)

func (*Form) Update

func (f *Form) Update(ctx context.Context) (err error)

func (*Form) Validate

func (f *Form) Validate() error

Validate validates package.

type Handler

type Handler struct {
	core.Handler
}

func (*Handler) Register

func (h *Handler) Register(router clevergo.Router)

type QueryParams

type QueryParams struct {
	DomainID int64  `schema:"domain_id"`
	Path     string `schema:"path"`
	VCS      string `schema:"vcs"`
}

Jump to

Keyboard shortcuts

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