control

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewControlClient

func NewControlClient(db *bolt.DB, addr string, opts ...Option) (*Client, error)

func (*Client) Start

func (c *Client) Start(ctx context.Context)

func (*Client) Stop

func (c *Client) Stop()

Stop stops the client

type Option

type Option func(*Client)

func WithDisableTLS

func WithDisableTLS() Option

func WithGetShellsInterval

func WithGetShellsInterval(i time.Duration) Option

func WithInsecureSkipVerify

func WithInsecureSkipVerify() Option

func WithLogger

func WithLogger(logger log.Logger) Option

Jump to

Keyboard shortcuts

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