Documentation ¶
Index ¶
- func Read(c net.Conn, sc ...int) (v any, err error)
- func ReadL(c net.Conn, ls ...log.L) (v any, ne bool)
- func ReadRaw(c net.Conn, sc ...int) (byte, []byte, error)
- func Write(c net.Conn, msg any, sc ...int) error
- func WriteL(c net.Conn, msg any, ls ...log.L) bool
- type Close
- type CloseTaskReq
- type CloseTaskResp
- type ConnectTaskReq
- type ConnectTaskResp
- type CreateTaskReq
- type CreateTaskResp
- type Data
- type Error
- type LoginReq
- type LoginResp
- type OK
- type Task
- type WorkReq
- type WorkResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloseTaskReq ¶
type CloseTaskReq struct {
Tid string `json:"tid,omitempty"`
}
type CloseTaskResp ¶
type CloseTaskResp struct { }
type ConnectTaskReq ¶
type ConnectTaskResp ¶
type CreateTaskReq ¶
type CreateTaskResp ¶
Click to show internal directories.
Click to hide internal directories.