Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServedFile ¶
ServedObject represents a file that will be returned at a given pattern
type ServedObject ¶
ServedObject represents an object that will be returned at a given pattern
type Server ¶
Server serves objects and files
func NewServer ¶
func NewServer(addr string, servedFiles []ServedFile, servedObjects []ServedObject) (*Server, error)
NewServer creates an object/file server
Click to show internal directories.
Click to hide internal directories.