grpc

package
v0.0.0-...-0f8bde9 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(cfg *config.Config, logger logger.Logger) *Server

func (*Server) MapHandlers

func (s *Server) MapHandlers(e *echo.Echo) error

func (*Server) Run

func (s *Server) Run() error

type ServiceServer

type ServiceServer struct {
	pb.UnimplementedFileApiServiceServer
}

func (*ServiceServer) GetFile

func (s *ServiceServer) GetFile(ctx context.Context, in *pb.DeliveryGetFile) (*pb.File, error)

func (*ServiceServer) IsAlive

@Summary Ping Service @Success 200 {string} string "" @Router /api/v1/fileapi/ready/live [get]

Jump to

Keyboard shortcuts

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