Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalFileService ¶
func NewLocalFileService(conf LocalFileServiceConfig) (*fileserver.FileServer, error)
NewLocalFileService creates a new CDN adapter configured for local file storage. It sets up the local storage client and wraps it with caching and S3-compatible interface.
Types ¶
type LocalFileServiceConfig ¶ added in v0.0.3
type Web ¶
type Web struct {
// contains filtered or unexported fields
}
Web provides a file upload and download web service with S3-compatible storage.
func NewWebServer ¶
func NewWebServer(engine httpx.Engine, storage *fileserver.FileServer) *Web
NewWebServer creates a new file web server with the given configuration and storage adapter.
func (*Web) Identifier ¶
Identifier returns the service identifier for the file web server.
Click to show internal directories.
Click to hide internal directories.