grpc

package
v0.0.0-...-2f56d2a Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(s *Service) error

Start grpc server

Types

type Service

type Service struct {
	Name      string    `json:"name"`
	Port      string    `json:"port"`
	Version   string    `json:"version"`
	StartedAt time.Time `json:"startedat"`
}

Service object holds all the information about the server parameters.

func (*Service) Health

func (*Service) Info

func (*Service) RunTest

func (s *Service) RunTest(ctx context.Context, req *conformance.Request) (*conformance.Response, error)

RunTest return conformance response

Jump to

Keyboard shortcuts

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