grpc

package
v0.0.0-...-de89868 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Logger *logrus.Logger

	Handler pb.IShorturlServer
}

Deps -.

type Server

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

Server -.

func NewServer

func NewServer(deps Deps) *Server

NewServer -.

func (*Server) ListenAndServer

func (s *Server) ListenAndServer(port string) error

ListenAndServer -.

func (*Server) Stop

func (s *Server) Stop()

Stop -.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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