clients

package
v0.0.0-...-5c878a7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInterface

type ClientInterface interface {
	Initial(info messages.AgentInfo) (messages.Base, error)
	SendMerlinMessage(base messages.Base) (messages.Base, error)
	Set(key string, value string) error
	Get(key string) string
	Auth(authType string, register bool) (messages.Base, error)
}

ClientInterface is a structure definition of required functions a client must implement to be used with a Merlin Agent

type MerlinClient

type MerlinClient struct {
	ClientInterface
}

MerlinClient is base structure for any clients that can be used to send or receive Merlin messages

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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