servers

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(ctx *contexts.Context) error

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 (*FilesServer) SyncFiles

type PostgresServer

type PostgresServer struct {
	postgres_v1.UnimplementedPostgresServer
	// contains filtered or unexported fields
}

func NewPostgresServer

func NewPostgresServer() *PostgresServer

func (*PostgresServer) DumpAll

func (*PostgresServer) Restore added in v0.0.2

type S3Server added in v0.0.5

type S3Server struct {
	s3_v1.UnimplementedS3Server
	// contains filtered or unexported fields
}

func NewS3Server added in v0.0.5

func NewS3Server() *S3Server

func (*S3Server) Sync added in v0.0.5

func (s3s *S3Server) Sync(ctx context.Context, req *s3_v1.SyncRequest) (*s3_v1.SyncResponse, error)

Jump to

Keyboard shortcuts

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