proxyservice

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(addr string, configPath string) error

Types

type ProxyService

type ProxyService struct {
	pb.UnimplementedEncoderServer
	// contains filtered or unexported fields
}

func (*ProxyService) EncodeImage

func (p *ProxyService) EncodeImage(ctx context.Context, request *pb.EncodeImageRequest) (*pb.EncoderResponse, error)

func (*ProxyService) EncodeText

func (p *ProxyService) EncodeText(ctx context.Context, request *pb.EncodeTextRequest) (*pb.EncoderResponse, error)

Jump to

Keyboard shortcuts

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