trafficsim

package
v0.6.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService() (service.Service, error)

NewService returns a new trafficsim Service

Types

type Server

type Server struct {
}

Server implements the TrafficSim gRPC service for administrative facilities.

func (*Server) GetMapLayout

func (s *Server) GetMapLayout(ctx context.Context, req *trafficsim.MapLayoutRequest) (*types.MapLayout, error)

GetMapLayout :

func (*Server) ListCells added in v0.6.1

ListCells :

func (*Server) ListRoutes

ListRoutes :

func (*Server) ListUes

ListUes :

func (*Server) ResetMetrics added in v0.6.0

ResetMetrics resets the metrics on demand

func (*Server) SetNumberUEs

SetNumberUEs - change the number of UEs in the simulation Cannot be set below the minimum or above the maximum

type Service

type Service struct {
	service.Service
}

Service is a Service implementation for administration.

func (Service) Register

func (s Service) Register(r *grpc.Server)

Register registers the TrafficSim Service with the gRPC server.

Jump to

Keyboard shortcuts

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