server

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v1.0.0

type Server struct {
	fsrpc.UnimplementedDataNodeServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(path string, writer *common_journal.Writer) *Server

func (*Server) DeleteChunk added in v1.0.0

func (s *Server) DeleteChunk(ctx context.Context, request *fsrpc.DeleteChunkRequest) (*fsrpc.DeleteChunkReply, error)

func (*Server) HandleDeleteMsg added in v1.0.0

func (s *Server) HandleDeleteMsg(msg []byte) error

func (*Server) HandleMsg added in v1.0.0

func (s *Server) HandleMsg(msg []byte) error

func (*Server) HandleWriteMsg added in v1.0.0

func (s *Server) HandleWriteMsg(msg []byte) error

func (*Server) ReadChunk added in v1.0.0

func (s *Server) ReadChunk(ctx context.Context, request *fsrpc.ReadChunkRequest) (*fsrpc.ReadChunkReply, error)

func (*Server) WriteChunk added in v1.0.0

func (s *Server) WriteChunk(ctx context.Context, request *fsrpc.WriteChunkRequest) (*fsrpc.WriteChunkReply, error)

Source Files

Jump to

Keyboard shortcuts

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