grpc

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL