models

package
v0.0.0-...-cb4582e Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCMSEntityRequest

type CreateCMSEntityRequest struct {
	Files []*multipart.FileHeader
	Path  string

	IsDirectory bool
}

type DirectoryEntry

type DirectoryEntry struct {
	Title   string
	Entries []*Entry
}

type Entry

type Entry struct {
	Path  string
	URL   string
	IsDir bool
}

type LoginRequest

type LoginRequest struct {
	Username string
	Password string
}

func (LoginRequest) Validate

func (data LoginRequest) Validate() error

type SignupRequest

type SignupRequest struct {
	Username string
	Email    string

	Password string
}

func (SignupRequest) Validate

func (data SignupRequest) Validate() error

Jump to

Keyboard shortcuts

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