domain

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	models.Domain
	PackageCount int64 `json:"package_count" db:"package_count"`
}

func (Domain) CanDelete

func (d Domain) CanDelete() bool

type Form

type Form struct {
	Name string `json:"name" schema:"name"`
	// contains filtered or unexported fields
}

func NewForm

func NewForm(db *sqlx.DB, userID string) *Form

func (*Form) Create

func (f *Form) Create(ctx context.Context) (*models.Domain, error)

func (*Form) Update

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

func (*Form) Validate

func (f *Form) Validate() error

type Handler

type Handler struct {
	core.Handler
}

func (*Handler) Register

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

type QueryParams

type QueryParams struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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