grpcserver

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SockPath string `json:"sock_path"`
	Protocol string `json:"protocol"`
}

type Server

type Server struct {
	dmiapi.UnimplementedDeviceMapperServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cfg Config, devPanel global.DevPanel) Server

func (*Server) CreateDeviceModel

func (*Server) GetDevice

func (*Server) RegisterDevice

func (*Server) RemoveDevice

func (*Server) RemoveDeviceModel

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop()

func (*Server) UpdateDevice

func (*Server) UpdateDeviceModel

Jump to

Keyboard shortcuts

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