handlers

package
v0.0.0-...-7c0796b Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 5 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 {
	pb.UnimplementedMetricsServer
	GetMetricService  *services.GetMetricService
	SaveMetricService *services.SaveMetricService
	PingService       *services.PingService
}

func (*Server) GetAllMetrics

func (*Server) GetMetric

func (s *Server) GetMetric(ctx context.Context, request *pb.GetMetricRequest) (*pb.GetMetricResponse, error)

func (*Server) Ping

func (s *Server) Ping(_ context.Context, _ *pb.PingRequest) (*pb.PingResponse, error)

func (*Server) SaveMetric

func (s *Server) SaveMetric(ctx context.Context, request *pb.SaveMetricRequest) (*pb.SaveMetricResponse, error)

func (*Server) SaveMetricList

func (s *Server) SaveMetricList(ctx context.Context, request *pb.SaveMetricListRequest) (*pb.SaveMetricListResponse, error)

Jump to

Keyboard shortcuts

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