mower_endpoint

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMowerEndpoint

func NewMowerEndpoint(logger lager.Logger, param Parameters, auth Auth, broker Broker) *mowerEndpoint

Types

type Auth

type Auth interface {
	LookupUser(req *http.Request) (model.User, error)
}

type Broker

type Broker interface {
	Open(user model.User, tun model.Tunnel)
}

type Parameters

type Parameters struct {
	ReadBufferSize  int `yaml:"read_buffer_size"`
	WriteBufferSize int `yaml:"write_buffer_size"`

	Tunnel tunnel.Parameters `yaml:"tunnel"`
}

func (*Parameters) Validate

func (p *Parameters) Validate() error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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