caller

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhotoServiceGrpcCaller

type PhotoServiceGrpcCaller struct {
}

func New

func (*PhotoServiceGrpcCaller) ContentByHash

func (c *PhotoServiceGrpcCaller) ContentByHash(ctx context.Context, d *model.Daemon, hash string) ([]byte, string, error)

func (*PhotoServiceGrpcCaller) Exists

func (c *PhotoServiceGrpcCaller) Exists(ctx context.Context, d *model.Daemon, hash string) (bool, error)

func (*PhotoServiceGrpcCaller) List

func (c *PhotoServiceGrpcCaller) List(ctx context.Context, d *model.Daemon, offset uint32, limit uint32) ([]*model.Photo, uint32, error)

func (*PhotoServiceGrpcCaller) ThumbnailByHash added in v0.4.0

func (c *PhotoServiceGrpcCaller) ThumbnailByHash(ctx context.Context, d *model.Daemon, hash string, width uint32, height uint32) ([]byte, string, error)

Jump to

Keyboard shortcuts

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