admin

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	InvalidateCache() error
	ETage() string
	NewETage() string
	CacheMaxAge() int64
}

type Client

type Client interface {
	ClientSecret() string
}

type Controller

type Controller interface {
	CacheDisabled() bool
	CorsDisabled() bool
	GzipDisabled() bool
}

type Editor

type Editor interface {
	ConfigEditor() ([]byte, error)
}

type GitHub added in v0.2.30

type GitHub interface {
	HookSecret() string
	GithubToken() string
	TargetRepository() string
}

type Http

type Http interface {
	Domain() string
	HttpPort() string
	BindAddress() string
	DevHttpsPort() string
}

type Persistence

type Persistence interface {
	PutConfig(key string, value any) error
	SetConfig(data url.Values) error
	NewUpload(data url.Values) error
	GetUpload(id string) ([]byte, error)
	DeleteUpload(id string) error
	AllUploads() ([][]byte, error)
}

type Traceable

type Traceable interface {
	FilePath() string
}

type Upload

type Upload interface {
	UploadCreator() func() interface{}
}

type User

type User interface {
	Name() string
	ID() uint64
}

type UserService

type UserService interface {
	ValidateUser(email, password string) error
	NewUser(email, password string) (User, error)
	IsUserExists(email string) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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