Documentation ¶
Index ¶
- Variables
- type AttrStream
- type Chdir
- type Flusher
- type Handler
- type HandlerDir
- type HandlerWriter
- type Stater
- type Stream
- func (s *Stream) Attr(v interface{}) interface{}
- func (s *Stream) Close() error
- func (s *Stream) Flush() error
- func (s *Stream) Read(p []byte) (int, error)
- func (s *Stream) ReadByte() (byte, error)
- func (s *Stream) Seek(offset int64, whence int) (int64, error)
- func (s *Stream) SetAttr(k string, v interface{})
- func (s *Stream) Stat() (os.FileInfo, error)
- func (s *Stream) Sync() error
- func (s *Stream) Write(p []byte) (n int, err error)
- type Syncer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotSupported = errors.New("stream: method or operation not supported")
Functions ¶
This section is empty.
Types ¶
type AttrStream ¶
type AttrStream interface {
Attr(v interface{}) interface{}
}
type Flusher ¶
type Flusher interface {
Flush() error
}
Flusher is a stream with a flush method, such as bufio.Writer
type Handler ¶
type Handler interface { Open(path *url.URL) (*Stream, error) Exists(path *url.URL) (bool, error) Stat(path *url.URL) (os.FileInfo, error) Lstat(path *url.URL) (os.FileInfo, error) }
func NewFileHandler ¶
func PhpHandler ¶
func PhpHandler() Handler
type HandlerDir ¶
type HandlerWriter ¶
Click to show internal directories.
Click to hide internal directories.