ssh

package
v0.0.0-...-e5d2e06 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(p Params) (*ssh.Server, error)

Types

type Options

type Options struct {
	Host    string `yaml:"host"`
	Port    int    `yaml:"port"`
	KeyPath string `yaml:"key_path"`
}

type Params

type Params struct {
	fx.In

	Middleware []wish.Middleware `group:"middleware"`
	Options    *Options
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳