server

package
v0.0.0-...-0d94845 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2020 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_DIRLIST_PAGE_SIZE = 100

Variables

View Source
var PAGE_TEMPLATE = `` /* 2071-byte string literal not displayed */

Functions

This section is empty.

Types

type OBJECT_TYPE

type OBJECT_TYPE uint
const (
	OBJECT_TYPE_NOTFOUND OBJECT_TYPE = 0
	OBJECT_TYPE_FILE     OBJECT_TYPE = 1
	OBJECT_TYPE_DIR      OBJECT_TYPE = 2
)

func (OBJECT_TYPE) String

func (o OBJECT_TYPE) String() string

type ObjAttrsWithErr

type ObjAttrsWithErr struct {
	Attrs *storage.ObjectAttrs
	Error error
}

type Server

type Server struct {
	DirListPageSize int
}

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL