Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdminFS embed.FS
Functions ¶
This section is empty.
Types ¶
type StaticServer ¶
type StaticServer struct {
// contains filtered or unexported fields
}
func NewStaticServer ¶
func NewStaticServer( devMode bool, adminURL string, contentPage http.Handler, ) *StaticServer
func (*StaticServer) ServeAdmin ¶
func (s *StaticServer) ServeAdmin(w http.ResponseWriter, r *http.Request)
func (*StaticServer) ServeContent ¶
func (s *StaticServer) ServeContent(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.