service

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPhotoService

func NewPhotoService() photo.PhotoServiceServer

Types

type PhotoService

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

func (*PhotoService) AllPhotos

func (p *PhotoService) AllPhotos(ctx context.Context, _ *empty.Empty) (*photo.AllPhotosResponse, error)

func (*PhotoService) Photo

func (*PhotoService) PostPhoto

func (*PhotoService) TagPhoto

func (p *PhotoService) TagPhoto(ctx context.Context, in *photo.TagPhotoRequest) (*empty.Empty, error)

func (*PhotoService) TotalPhotos

func (p *PhotoService) TotalPhotos(ctx context.Context, _ *empty.Empty) (*photo.TotalPhotosResponse, error)

Jump to

Keyboard shortcuts

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