Documentation ¶
Index ¶
- func CmsMiddleware(cfg *config.ConfigCms, urls config.ConfigURL) bm.Handler
- func NewConfigSite() *shared.ConfigSite
- func NewSpinner() spinner.Model
- func StartApiServer()
- func StartSshServer()
- func WishMiddleware(handler *uploadassets.UploadAssetHandler) wish.Middleware
- type AssetHandler
- type Cmd
- type CmdSession
- type CmdSessionLogger
- type GotDBMsg
- type HttpReply
- type RedirectRule
- type RssData
- type SSHServer
- type SubdomainProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigSite ¶
func NewConfigSite() *shared.ConfigSite
func NewSpinner ¶
func StartApiServer ¶
func StartApiServer()
func StartSshServer ¶
func StartSshServer()
func WishMiddleware ¶
func WishMiddleware(handler *uploadassets.UploadAssetHandler) wish.Middleware
Types ¶
type AssetHandler ¶
type AssetHandler struct { Username string Subdomain string Filepath string ProjectDir string Cfg *shared.ConfigSite Dbpool db.DB Storage storage.ObjectStorage Logger *zap.SugaredLogger Cache *gocache.Cache UserID string }
type Cmd ¶
type Cmd struct { User *db.User Session CmdSession Log *zap.SugaredLogger Store storage.ObjectStorage Dbpool db.DB Write bool }
func (*Cmd) RmProjectAssets ¶ added in v1.6.0
type CmdSession ¶ added in v1.6.0
type CmdSessionLogger ¶ added in v1.6.0
type CmdSessionLogger struct {
Log *zap.SugaredLogger
}
func (*CmdSessionLogger) Close ¶ added in v1.6.0
func (c *CmdSessionLogger) Close() error
func (*CmdSessionLogger) Exit ¶ added in v1.6.0
func (c *CmdSessionLogger) Exit(code int) error
func (*CmdSessionLogger) Stderr ¶ added in v1.6.0
func (c *CmdSessionLogger) Stderr() io.ReadWriter
type RedirectRule ¶
type SubdomainProps ¶
Click to show internal directories.
Click to hide internal directories.