mnedcmgr

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientImpl

type ClientImpl struct {
	tls.HasCertificate
	// contains filtered or unexported fields
}

ClientImpl structure

func GetClientInstance

func GetClientInstance() *ClientImpl

GetClientInstance gives the ClientImpl singletone instance

func (*ClientImpl) RegisterToMNEDCServer

func (c *ClientImpl) RegisterToMNEDCServer(deviceID string, configPath string) error

RegisterToMNEDCServer registers with MNEDC server

func (*ClientImpl) SetClient

func (c *ClientImpl) SetClient(clientAPI restclient.Clienter)

SetClient sets the client API

func (*ClientImpl) StartMNEDCClient

func (c *ClientImpl) StartMNEDCClient(deviceIDPath string, configPath string)

StartMNEDCClient starts the MNEDC client

type ServerImpl

type ServerImpl struct {
	cipher.HasCipher
	tls.HasCertificate
}

ServerImpl structure

func GetServerInstance

func GetServerInstance() *ServerImpl

GetServerInstance gives the ServerImpl singletone instance

func (ServerImpl) StartMNEDCServer

func (ServerImpl) StartMNEDCServer(deviceIDPath string)

StartMNEDCServer starts the MNEDC server on the machine

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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