ssh

package
v1.86.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(serverOpts ...ServerOpt) gitalypb.SSHServiceServer

NewServer creates a new instance of a grpc SSHServer

Types

type ServerOpt added in v1.75.0

type ServerOpt func(s *server)

ServerOpt is a self referential option for server

func WithArchiveRequestTimeout added in v1.75.0

func WithArchiveRequestTimeout(d time.Duration) ServerOpt

WithArchiveRequestTimeout sets the upload pack request timeout

func WithUploadPackRequestTimeout added in v1.75.0

func WithUploadPackRequestTimeout(d time.Duration) ServerOpt

WithUploadPackRequestTimeout sets the upload pack request timeout

Jump to

Keyboard shortcuts

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