Documentation ¶
Index ¶
- func FormatSize(b int64) string
- func FormatTime(t *time.Time) string
- type Listing
- type Server
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (s *Server) ServeHead(ctx context.Context, path string, cond *backend.Conditions, ...)
- func (s *Server) ServeListing(ctx context.Context, path string, w http.ResponseWriter, r *http.Request)
- func (s *Server) ServeObject(ctx context.Context, path string, cond *backend.Conditions, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSize ¶
func FormatTime ¶
Types ¶
type Server ¶
func (*Server) ServeHead ¶
func (s *Server) ServeHead(ctx context.Context, path string, cond *backend.Conditions, w http.ResponseWriter)
func (*Server) ServeListing ¶
func (*Server) ServeObject ¶
func (s *Server) ServeObject(ctx context.Context, path string, cond *backend.Conditions, w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.