command

package
v0.0.0-...-52787d2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UploadAvatarCommand

type UploadAvatarCommand struct {
	UserName string
	Content  *multipart.FileHeader
}

type UploadAvatarHandlerConfig

type UploadAvatarHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadAvatarResult

type UploadAvatarResult struct {
	Url string
}

type UploadBusinessAvatarCommand

type UploadBusinessAvatarCommand struct {
	NickName string
	Content  *multipart.FileHeader
}

type UploadBusinessAvatarHandlerConfig

type UploadBusinessAvatarHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadBusinessAvatarResult

type UploadBusinessAvatarResult struct {
	Url string
}

type UploadBusinessCoverCommand

type UploadBusinessCoverCommand struct {
	NickName string
	Content  *multipart.FileHeader
}

type UploadBusinessCoverHandlerConfig

type UploadBusinessCoverHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadBusinessCoverResult

type UploadBusinessCoverResult struct {
	Url string
}

type UploadImageCommand

type UploadImageCommand struct {
	RandomName  bool                  `json:"randomName"`
	Slugify     bool                  `json:"slugify"`
	FileName    string                `json:"fileName"`
	Dir         string                `json:"dir"`
	Content     *multipart.FileHeader `json:"content"`
	IsAdmin     bool                  `json:"-"`
	MinifyLevel cdn.MinifyLevel       `json:"minifyLevel"`
}

type UploadImageHandlerConfig

type UploadImageHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadImageResult

type UploadImageResult struct {
	Url string
}

type UploadMarkdownCommand

type UploadMarkdownCommand struct {
	RandomName bool
	FileName   string
	Dir        string
	Content    *multipart.FileHeader
	IsAdmin    bool
}

type UploadMarkdownHandlerConfig

type UploadMarkdownHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadMarkdownResult

type UploadMarkdownResult struct {
	Url string
}

type UploadPdfCommand

type UploadPdfCommand struct {
	RandomName bool                  `json:"randomName"`
	Slugify    bool                  `json:"slugify"`
	FileName   string                `json:"fileName"`
	Dir        string                `json:"dir"`
	Content    *multipart.FileHeader `json:"content"`
	IsAdmin    bool                  `json:"-"`
}

type UploadPdfHandlerConfig

type UploadPdfHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadPdfResult

type UploadPdfResult struct {
	Url string
}

type UploadSvgCommand

type UploadSvgCommand struct {
	RandomName bool
	FileName   string
	Dir        string
	Content    *multipart.FileHeader
	IsAdmin    bool
}

type UploadSvgHandlerConfig

type UploadSvgHandlerConfig struct {
	Repo     cdn.Repository
	Factory  cdn.Factory
	CqrsBase decorator.Base
}

type UploadSvgResult

type UploadSvgResult struct {
	Url string
}

Jump to

Keyboard shortcuts

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