grpc

package
v0.0.0-...-c6ccb82 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package grpc handles the grpc connection

Package grpc handles the grpc connection

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents the grpc client.

func (*Client) Connect

func (c *Client) Connect() error

Connect creates the grpc connection.

func (*Client) Start

func (c *Client) Start()

Start runs the handlers to send and receive grpc messages.

type Metrics

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

Metrics stores metrics for prometheus.

type Server

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

Server represents the grpc server.

func (*Server) Listen

func (s *Server) Listen() error

Listen listens for new grpc connections.

func (*Server) Start

func (s *Server) Start()

Start accepts incoming grpc connections.

Jump to

Keyboard shortcuts

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