Documentation ¶
Index ¶
- type Admin
- func (a *Admin) BindAddress() string
- func (a *Admin) ConfigEditor() ([]byte, error)
- func (a *Admin) DevHttpsPort() string
- func (a *Admin) Domain() string
- func (a *Admin) HttpPort() string
- func (a *Admin) InvalidateCache() error
- func (a *Admin) LoadConfig() error
- func (a *Admin) Name() string
- func (a *Admin) PutConfig(key string, value any) error
- func (a *Admin) RefreshETage()
- func (a *Admin) SetConfig(data url.Values) error
- type Administrator
- type Cache
- type Client
- type Controller
- type Http
- type Netlify
- type Upload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { Repo repository.Repository Conf *valueobject.Config *Administrator *Upload *Http *Cache *Controller *Client *Netlify Log loggers.Logger }
func (*Admin) BindAddress ¶
func (*Admin) ConfigEditor ¶
func (*Admin) DevHttpsPort ¶
func (*Admin) InvalidateCache ¶
func (*Admin) LoadConfig ¶
func (*Admin) RefreshETage ¶
func (a *Admin) RefreshETage()
type Administrator ¶
type Administrator struct { Repo repository.Repository Log loggers.Logger }
func (*Administrator) IsUserExists ¶
func (a *Administrator) IsUserExists(email string) bool
func (*Administrator) NewUser ¶
func (a *Administrator) NewUser(email, password string) (admin.User, error)
func (*Administrator) ValidateUser ¶
func (a *Administrator) ValidateUser(email, password string) error
type Controller ¶
type Controller struct {
Conf *valueobject.Config
}
func (*Controller) CacheDisabled ¶
func (a *Controller) CacheDisabled() bool
func (*Controller) CorsDisabled ¶
func (a *Controller) CorsDisabled() bool
func (*Controller) GzipDisabled ¶
func (a *Controller) GzipDisabled() bool
type Http ¶
type Http struct {
Conf *valueobject.Config
}
type Netlify ¶ added in v0.0.5
type Netlify struct {
Conf *valueobject.Config
}
type Upload ¶
type Upload struct {
Repo repository.Repository
}
func (*Upload) AllUploads ¶
func (*Upload) DeleteUpload ¶
func (*Upload) UploadCreator ¶
func (a *Upload) UploadCreator() func() interface{}
Click to show internal directories.
Click to hide internal directories.