ui

package
v0.0.0-...-2ca02c3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 License: GPL-3.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewClient

func NewClient(path string, stats *statistics.Statistics) *Client

func (*Client) Ask

func (c *Client) Ask(con *conman.Connection) (*rule.Rule, bool)

func (*Client) Connected

func (c *Client) Connected() bool

func (*Client) DefaultAction

func (c *Client) DefaultAction() rule.Action

func (*Client) DefaultDuration

func (c *Client) DefaultDuration() rule.Duration

func (*Client) InterceptUnknown

func (c *Client) InterceptUnknown() bool

type Config

type Config struct {
	sync.RWMutex
	Default_Action    string
	Default_Duration  string
	Intercept_Unknown bool
}

Directories

Path Synopsis
Package protocol is a generated protocol buffer package.
Package protocol is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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