commit 0af98df2e4d41989c451573a17e81c1f69998cfd
Author: Boshi Lian <farmer1992@gmail.com>
Date: Sun Oct 3 18:55:59 2021 +0000
add a working remote grpc server
commit a0acce4894fc9191ddb4c14f5cc669bca63bd920
Author: Boshi Lian <farmer1992@gmail.com>
Date: Tue Sep 28 11:33:40 2021 +0000
init grpc
20 lines
402 B
Go
20 lines
402 B
Go
package grpcupstream
|
|
|
|
import (
|
|
"github.com/tg123/sshpiper/sshpiperd/upstream"
|
|
)
|
|
|
|
// Return All pipes inside upstream
|
|
func (p *plugin) ListPipe() ([]upstream.Pipe, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
// Create a pipe inside upstream
|
|
func (p *plugin) CreatePipe(opt upstream.CreatePipeOption) error {
|
|
return nil
|
|
}
|
|
|
|
// Remove a pipe from upstream
|
|
func (p *plugin) RemovePipe(name string) error {
|
|
return nil
|
|
}
|