grpcbooksclient

package
v0.0.0-...-ba4ce30 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp() *App

func (*App) AddBook

func (a *App) AddBook(book *proto.Book)

func (*App) FetchBook

func (a *App) FetchBook(isbn int) *proto.Book

func (*App) ListBooks

func (a *App) ListBooks() []*proto.Book

func (*App) RemoveBook

func (a *App) RemoveBook(isbn int)

func (*App) Shutdown

func (a *App) Shutdown()

func (*App) Start

func (a *App) Start()

func (*App) UpdateBook

func (a *App) UpdateBook(book *proto.Book)

Jump to

Keyboard shortcuts

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