Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { StorageBackend storage.Backend ArtifactURL string Logger *arti_logger.Logger Router *arti_router.Router }
func NewServer ¶
func NewServer(options ServerOptions) (*Server, error)
func (*Server) Routes ¶
func (svr *Server) Routes() []*arti_router.Route
type ServerOptions ¶
type ServerOptions struct { StorageBackend storage.Backend Logger *arti_logger.Logger Router *arti_router.Router LogJSON bool Debug bool ArtifactURL string }
ServerOptions are options
Click to show internal directories.
Click to hide internal directories.