Documentation ¶ Index ¶ type Parser func NewDefault(uri string) Parser type Transport func NewTransporter() *Transport func (g *Transport) Close(ctx context.Context) error func (g *Transport) GetType() common.Net func (g *Transport) Request(ctx context.Context, uri string, req *common.Req) (*common.Resp, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Parser ¶ type Parser interface { Get() (service string, method string, err error) } func NewDefault ¶ func NewDefault(uri string) Parser type Transport ¶ type Transport struct { // contains filtered or unexported fields } func NewTransporter ¶ func NewTransporter() *Transport func (*Transport) Close ¶ func (g *Transport) Close(ctx context.Context) error func (*Transport) GetType ¶ func (g *Transport) GetType() common.Net func (*Transport) Request ¶ func (g *Transport) Request(ctx context.Context, uri string, req *common.Req) (*common.Resp, error) Source Files ¶ View all Source files codec.go grpc.go parse.go Click to show internal directories. Click to hide internal directories.