security

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager is the struct that handles incoming security messages

func NewSecurityManager

func NewSecurityManager(hasSecurity bool) *Manager

NewSecurityManager returns a new security manager

func (*Manager) ReceiveMessage

func (m *Manager) ReceiveMessage(message structs.Message) *Result

ReceiveMessage handles incoming security messages

type Result

type Result struct {
	MessageToSend  *structs.Message
	WarningMessage string
}

Result is the result of a secuirty manager parsing a given message

Jump to

Keyboard shortcuts

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