Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEndOfFile ¶
func IsEndOfFile(msg *isp.Message) bool
Types ¶
type BeginFile ¶
type BeginFile struct { FileName string FormDataName string ContentType string ContentLength int64 FormData FormData }
func ReadFile ¶
func ReadFile(stream DuplexMessageStream, fileFactory func(bf BeginFile) (io.WriteCloser, error), sendResponse bool) (*BeginFile, error)
func (*BeginFile) FromMessage ¶
type DuplexMessageStream ¶
type StreamConsumer ¶
type StreamConsumer func(stream DuplexMessageStream, md metadata.MD) error
Click to show internal directories.
Click to hide internal directories.