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. |
Click to show internal directories.
Click to hide internal directories.