api

package
v0.0.0-...-bf30131 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxInMemorySize = 5 << 20 // 5MB memory threshold

)

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCServer

type GRPCServer struct {
	apiv1.UnimplementedAudioStripperServer
	// contains filtered or unexported fields
}

func NewGRPCServer

func NewGRPCServer(logger *slog.Logger, service audioStripperService) *GRPCServer

func (*GRPCServer) ExtractAudio

func (s *GRPCServer) ExtractAudio(stream apiv1.AudioStripper_ExtractAudioServer) error

func (*GRPCServer) Register

func (s *GRPCServer) Register(server *grpc.Server)

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

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