grpc

package
v0.0.0-...-47b6ad5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultContext

func DefaultContext() (context.Context, context.CancelFunc)

DefaultContext 默认

Types

type ClientConn

type ClientConn = g.ClientConn

ClientConn ClientConn

func Dial

func Dial(target string, opts ...DialOption) (*ClientConn, error)

Dial client连接server

func DialStream

func DialStream(target string, opts ...DialOption) (*ClientConn, error)

DialStream stream

type DialOption

type DialOption = g.DialOption

DialOption DialOption

type Server

type Server = g.Server

Server s

func NewServer

func NewServer(opt ...ServerOption) *Server

NewServer 创建服务

type ServerOption

type ServerOption = g.ServerOption

ServerOption ServerOption

type ServerStream

type ServerStream = g.ServerStream

ServerStream ServerStream

type ServerTransportStream

type ServerTransportStream = g.ServerTransportStream

ServerTransportStream ServerTransportStream

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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