Files
gitea-pages/pkg/server.go
2024-12-27 17:32:02 +08:00

25 lines
388 B
Go

package pkg
import (
"code.d7z.net/d7z-project/gitea-pages/pkg/services"
)
type ServerOptions struct {
Domain string
Cache services.Config
}
func DefaultOptions(domain string) *ServerOptions {
return &ServerOptions{
Domain: domain,
Cache: services.NewConfigMemory(),
}
}
type Server struct {
}
func NewServer(backend services.Backend, options *ServerOptions) *Server {
}