Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Logger *Logger
Router *Router
RepositoryIndex *repo.Index
StorageBackend storage.Backend
StorageCache []storage.Object
StorageCacheLock *sync.Mutex
}
Server contains a Logger, Router, storage backend and object cache
func NewServer ¶
func NewServer(options ServerOptions) (*Server, error)
NewServer creates a new Server instance
Click to show internal directories.
Click to hide internal directories.