shared

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Libheif

type Libheif interface {
	Ping() (string, error)
	DecodeImage(*requests.DecodeImage) (*responses.DecodeImage, error)
	DecodeConfig(*requests.DecodeConfig) (*responses.DecodeConfig, error)
	RenderFile(*requests.RenderFile) (*responses.RenderFile, error)
}

type LibheifPlugin

type LibheifPlugin struct {
	Impl Libheif
}

func (LibheifPlugin) Client

func (LibheifPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)

func (*LibheifPlugin) Server

func (p *LibheifPlugin) Server(*plugin.MuxBroker) (interface{}, error)

type LibheifRPC

type LibheifRPC struct {
	// contains filtered or unexported fields
}

func (*LibheifRPC) DecodeConfig

func (g *LibheifRPC) DecodeConfig(request *requests.DecodeConfig) (*responses.DecodeConfig, error)

func (*LibheifRPC) DecodeImage

func (g *LibheifRPC) DecodeImage(request *requests.DecodeImage) (*responses.DecodeImage, error)

func (*LibheifRPC) Ping

func (g *LibheifRPC) Ping() (string, error)

func (*LibheifRPC) RenderFile

func (g *LibheifRPC) RenderFile(request *requests.RenderFile) (*responses.RenderFile, error)

type LibheifRPCServer

type LibheifRPCServer struct {
	Impl Libheif
}

func (*LibheifRPCServer) DecodeConfig

func (s *LibheifRPCServer) DecodeConfig(request *requests.DecodeConfig, resp *responses.DecodeConfig) (err error)

func (*LibheifRPCServer) DecodeImage

func (s *LibheifRPCServer) DecodeImage(request *requests.DecodeImage, resp *responses.DecodeImage) (err error)

func (*LibheifRPCServer) Ping

func (s *LibheifRPCServer) Ping(args interface{}, resp *string) error

func (*LibheifRPCServer) RenderFile

func (s *LibheifRPCServer) RenderFile(request *requests.RenderFile, resp *responses.RenderFile) (err error)

Jump to

Keyboard shortcuts

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