service

package
v0.0.0-...-6fa03d5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package service implements the gnmitest.proto Run service API.

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
}

Server struct stores the information that are same across all requests.

func NewServer

func NewServer(clientType string) (*Server, error)

NewServer returns an instance of Server struct.

func (*Server) Run

func (s *Server) Run(ctx context.Context, suite *spb.Suite) (*rpb.Report, error)

Run RPC accepts a Suite proto and runs it. It returns the Report proto as result.

Jump to

Keyboard shortcuts

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