Documentation ¶ Index ¶ func Bicopy(ctx context.Context, c1, c2 io.ReadWriteCloser) type Server func NewServer(logger *slog.Logger, workDir, defaultWorkDir string) *Server func (s *Server) Start() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bicopy ¶ func Bicopy(ctx context.Context, c1, c2 io.ReadWriteCloser) Bicopy copies all of the data between the two connections and will close them after one or both of them are done writing. If the context is canceled, both of the connections will be closed. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(logger *slog.Logger, workDir, defaultWorkDir string) *Server func (*Server) Start ¶ func (s *Server) Start() error Source Files ¶ View all Source files server.gounix_forward.go Directories ¶ Show internal Expand all Path Synopsis config Click to show internal directories. Click to hide internal directories.