service

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderServer

type ProviderServer struct {
	api.UnimplementedProviderServiceServer
	// contains filtered or unexported fields
}

ProviderServer is a gRPC server of provider.Interface.

func NewProviderServer

func NewProviderServer(metricProvider provider.Interface) *ProviderServer

NewProviderServer create a new instance of ProviderServer

func (*ProviderServer) Query

func (*ProviderServer) QueryLatest

func (*ProviderServer) RegisterTo

func (s *ProviderServer) RegisterTo(sr grpc.ServiceRegistrar)

RegisterTo register the service to the server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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