Documentation ¶
Overview ¶
Package web builds a web server to navigate through datamon repos.
You can use the "packr clean" command to clean up this, and any other packr generated files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRouter ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server describe a web server with templates
func NewServer ¶
func NewServer(params ServerParams) (*Server, error)
NewServer builds a new web server with page handlers
func (*Server) HandleBundleListFiles ¶
func (s *Server) HandleBundleListFiles() http.HandlerFunc
func (*Server) HandleHome ¶
func (s *Server) HandleHome() http.HandlerFunc
func (*Server) HandleRepoListBundles ¶
func (s *Server) HandleRepoListBundles() http.HandlerFunc
type ServerParams ¶
Click to show internal directories.
Click to hide internal directories.