Documentation
¶
Index ¶
- type Call
- type Highway
- func (hw *Highway) Call(reqHead *pb.Highway_RequestHead, reqBody []byte, resp *pb.Highway_ResponseHead) error
- func (hw *Highway) Echo() error
- func (hw *Highway) Go(reqHead *pb.Highway_RequestHead, reqBody []byte, resp *pb.Highway_ResponseHead, ...) *Call
- func (hw *Highway) Upload(name string, ukey []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct { ReqHead *pb.Highway_RequestHead ReqBody []byte Resp *pb.Highway_ResponseHead Error error Done chan *Call }
type Highway ¶
type Highway struct {
// contains filtered or unexported fields
}
func NewHighway ¶
func (*Highway) Call ¶
func (hw *Highway) Call( reqHead *pb.Highway_RequestHead, reqBody []byte, resp *pb.Highway_ResponseHead, ) error
func (*Highway) Go ¶
func (hw *Highway) Go( reqHead *pb.Highway_RequestHead, reqBody []byte, resp *pb.Highway_ResponseHead, done chan *Call, ) *Call
Click to show internal directories.
Click to hide internal directories.