plugin

package
v4.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MPL-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MaxMsgSize = 100 * 1024 * 1024 // 100 MiB

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	pb.UnimplementedPluginServer
	Plugin    *plugin.Plugin
	Logger    zerolog.Logger
	Directory string
	NoSentry  bool
}

func (*Server) Close

func (s *Server) Close(ctx context.Context, _ *pb.Close_Request) (*pb.Close_Response, error)

func (*Server) GetName

func (*Server) GetTables

func (s *Server) GetTables(ctx context.Context, req *pb.GetTables_Request) (*pb.GetTables_Response, error)

func (*Server) GetVersion

func (*Server) Init

func (s *Server) Init(ctx context.Context, req *pb.Init_Request) (*pb.Init_Response, error)

func (*Server) Read

func (s *Server) Read(req *pb.Read_Request, stream pb.Plugin_ReadServer) error

func (*Server) Sync

func (s *Server) Sync(req *pb.Sync_Request, stream pb.Plugin_SyncServer) error

func (*Server) Write

func (s *Server) Write(stream pb.Plugin_WriteServer) error

Jump to

Keyboard shortcuts

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