{"modulePath":"github.com/Echanging/mosn","version":"v0.0.0-20191125121549-e3e11830cfca","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Functions\n\n```go\nfunc ServeHTTP(w http.ResponseWriter, r *http.Request)\n```\n\n## Types\n\n```go\ntype Client struct {\n\tCodec stream.Client\n\n\tId uint64\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewClient(addr string) *Client\n```\n\n```go\nfunc (c *Client) OnDecodeError(context context.Context, err error, headers types.HeaderMap)\n```\n\n```go\nfunc (c *Client) OnReceive(ctx context.Context, headers types.HeaderMap, data types.IoBuffer, trailers types.HeaderMap)\n```\n\n```go\nfunc (c *Client) Request()\n```\n\n```go\ntype SofaRPCServer struct {\n\tListener net.Listener\n}\n```\n\n```go\nfunc (s *SofaRPCServer) Run()\n```\n\n```go\nfunc (s *SofaRPCServer) Serve(conn net.Conn)\n```\n\n","path":"github.com/Echanging/mosn/examples/codes/tcpproxy-sample","name":"main","synopsis":"","isRedistributable":true}
