Documentation
¶
Index ¶
- Constants
- type FileServer
- func (fsrv *FileServer) Close()
- func (fsrv *FileServer) DefaultSpec() interface{}
- func (fsrv *FileServer) Description() string
- func (fsrv *FileServer) Handle(ctx context.HTTPContext) string
- func (fsrv *FileServer) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
- func (fsrv *FileServer) Init(filterSpec *httppipeline.FilterSpec)
- func (fsrv *FileServer) Kind() string
- func (fsrv *FileServer) Results() []string
- func (fsrv *FileServer) Status() interface{}
- type Spec
Constants ¶
View Source
const (
// Kind is the kind of FileServer.
Kind = "FileServer"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileServer ¶
type FileServer struct {
// contains filtered or unexported fields
}
func (*FileServer) DefaultSpec ¶
func (fsrv *FileServer) DefaultSpec() interface{}
DefaultSpec returns the default spec of FileServer.
func (*FileServer) Description ¶
func (fsrv *FileServer) Description() string
Description returns the description of FileServer
func (*FileServer) Handle ¶
func (fsrv *FileServer) Handle(ctx context.HTTPContext) string
Handle handles HTTP request
func (*FileServer) Inherit ¶
func (fsrv *FileServer) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
Inherit inherits previous generation of FileServer.
func (*FileServer) Init ¶
func (fsrv *FileServer) Init(filterSpec *httppipeline.FilterSpec)
Init initializes FileServer.
func (*FileServer) Kind ¶
func (fsrv *FileServer) Kind() string
Kind returns the kind of FileServer.
func (*FileServer) Results ¶
func (fsrv *FileServer) Results() []string
Results returns the results of FileServer.
func (*FileServer) Status ¶
func (fsrv *FileServer) Status() interface{}
Status returns Status generated by Runtime.
Click to show internal directories.
Click to hide internal directories.