Documentation ¶
Index ¶
- Variables
- func DecodeFrame(data []byte) ([]byte, error)
- func EncodeFrame(data []byte) []byte
- func ExistFile(path string) bool
- func InitMasterLog() (io.Writer, func(prefix string) http.Handler)
- func InitStdTransport(name ...string)
- func IsListen(addr string) error
- func ReadFrame(r io.Reader) ([]byte, error)
- func TimeSpend(name string) func()
- func ToCopyToIoWriter(ws ...io.Writer) io.Writer
- func ValidAddr(addr string) bool
- func WriteFrame(w io.Writer, data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorInvalidFrame = errors.New("invalid frame")
)
Functions ¶
func DecodeFrame ¶
func EncodeFrame ¶
func InitStdTransport ¶
func InitStdTransport(name ...string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.