grpc

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package grpc provides gRPC server implementation for the compression service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompressionServer

type CompressionServer struct {
	pb.UnimplementedCompressionServiceServer
	// contains filtered or unexported fields
}

CompressionServer implements the gRPC CompressionService.

func NewServer

func NewServer(svc *compression.Service) *CompressionServer

NewServer creates a new gRPC compression server.

func (*CompressionServer) Compress

Compress applies the compression pipeline to input text.

func (*CompressionServer) GetLayers

GetLayers returns information about all compression layers.

func (*CompressionServer) GetStats

GetStats returns compression statistics.

Jump to

Keyboard shortcuts

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