entity

package
v0.0.0-...-106d939 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

func (*Admin) BindAddress

func (a *Admin) BindAddress() string

func (*Admin) ConfigEditor

func (a *Admin) ConfigEditor() ([]byte, error)

func (*Admin) DevHttpsPort

func (a *Admin) DevHttpsPort() string

func (*Admin) Domain

func (a *Admin) Domain() string

func (*Admin) HttpPort

func (a *Admin) HttpPort() string

func (*Admin) InvalidateCache

func (a *Admin) InvalidateCache() error

func (*Admin) LoadConfig

func (a *Admin) LoadConfig() error

func (*Admin) Name

func (a *Admin) Name() string

func (*Admin) PutConfig

func (a *Admin) PutConfig(key string, value any) error

func (*Admin) RefreshETage

func (a *Admin) RefreshETage()

func (*Admin) SetConfig

func (a *Admin) SetConfig(data url.Values) error

type Administrator

type Administrator struct {
	Repo repository.Repository
}

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 Cache

type Cache struct {
	Conf *valueobject.Config
}

func (*Cache) CacheMaxAge

func (a *Cache) CacheMaxAge() int64

func (*Cache) ETage

func (a *Cache) ETage() string

func (*Cache) NewETage

func (a *Cache) NewETage() string

type Client

type Client struct {
	Conf *valueobject.Config
}

func (*Client) ClientSecret

func (a *Client) ClientSecret() string

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 Upload

type Upload struct {
	Repo repository.Repository
}

func (*Upload) AllUploads

func (a *Upload) AllUploads() ([][]byte, error)

func (*Upload) DeleteUpload

func (a *Upload) DeleteUpload(id string) error

func (*Upload) GetUpload

func (a *Upload) GetUpload(id string) ([]byte, error)

func (*Upload) NewUpload

func (a *Upload) NewUpload(data url.Values) error

func (*Upload) UploadCreator

func (a *Upload) UploadCreator() func() interface{}

Jump to

Keyboard shortcuts

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