Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
Types ¶
type FilesServer ¶
type FilesServer struct {
files_v1.UnimplementedFilesServer
// contains filtered or unexported fields
}
TODO figure out a way to auto generate this and protobufs
func NewFilesServer ¶
func NewFilesServer() *FilesServer
func (*FilesServer) CopyFiles ¶
func (fs *FilesServer) CopyFiles(ctx context.Context, req *files_v1.CopyFilesRequest) (*files_v1.CopyFilesResponse, error)
func (*FilesServer) SyncFiles ¶
func (fs *FilesServer) SyncFiles(ctx context.Context, req *files_v1.SyncFilesRequest) (*files_v1.SyncFilesResponse, error)
type PostgresServer ¶
type PostgresServer struct {
postgres_v1.UnimplementedPostgresServer
// contains filtered or unexported fields
}
func NewPostgresServer ¶
func NewPostgresServer() *PostgresServer
func (*PostgresServer) DumpAll ¶
func (ps *PostgresServer) DumpAll(ctx context.Context, req *postgres_v1.DumpAllRequest) (*postgres_v1.DumpAllResponse, error)
func (*PostgresServer) Restore ¶ added in v0.0.2
func (ps *PostgresServer) Restore(ctx context.Context, req *postgres_v1.RestoreRequest) (*postgres_v1.RestoreResponse, error)
Click to show internal directories.
Click to hide internal directories.