server

package
v0.0.0-...-49c0182 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SockAddr = "/tmp/tmpdir.sock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	pb.UnimplementedTmpDirListenerServer
	// contains filtered or unexported fields
}

func New

func New() (*Server, error)

func (*Server) ListDirs

func (*Server) RegisterDir

func (s *Server) RegisterDir(ctx context.Context, dir *pb.RegisterRequest) (*pb.RegisterReply, error)

func (*Server) Run

func (s *Server) Run() error

func (*Server) WatchDir

func (s *Server) WatchDir(ctx context.Context, dir *pb.WatchRequest) (*pb.WatchReply, error)

Jump to

Keyboard shortcuts

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