Documentation ¶
Index ¶
- Variables
- func DecodeFrame(data []byte) ([]byte, error)
- func EncodeFrame(data []byte) []byte
- func ExistFile(path string) bool
- func InitLogTransport(name string)
- func IsListen(addr string) error
- func ReadFrame(r io.Reader) ([]byte, error)
- func Timeout(name string) func()
- 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 InitLogTransport ¶
func InitLogTransport(name string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.