grpc

package
v0.0.0-...-a2ce4e4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	api.ClientAdapter

	*grpc.ClientConn
}

func Dial

func Dial(rawUrl string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) GetType

func (c *Client) GetType() api.ClientType

func (*Client) UnderlyingHandle

func (c *Client) UnderlyingHandle() interface{}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) RegisterGRPC

func (s *Server) RegisterGRPC(desc *grpc.ServiceDesc, impl interface{}) error

func (*Server) Run

func (s *Server) Run(ln net.Listener) error

Jump to

Keyboard shortcuts

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