package
0.0.0-20190422025920-beccf3fe4313
Repository: https://github.com/changwh/go-common.git
Documentation: pkg.go.dev
# README
net/rpc/liverpc
项目简介
打通go和直播原有rpc通信的道路
# Constants
KeyHeader use this in context to pass rpc header field Depreated 请使用HeaderOption来传递Header.
KeyTimeout deprecated Depreated 请使用HTTPOption来传递HTTP.
# Structs
Args .
Client is a RPC client.
ClientConfig client config.
ClientConn connect represent a real client connection to a rpc server.
No description provided by the author
HeaderOption contains Header for liverpc.
http is inside the protocol body {"body":..., "header":..., "http":...} this is used when a proxy forward a http request to a rpc request.
HTTPOption contains HTTP for liverpc.
Reply .
TimeoutOption is timeout for a specific call.
# Interfaces
CallOption ...