api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoBookmark        = errors.New("specified Bookmark is not found")
	ErrNoReadingUserBook = errors.New("UserBook in reading with specified Bookmark is not found")
)

Functions

This section is empty.

Types

type BookServer

type BookServer struct {
	api.UnimplementedBookServer
}

func NewBookServer

func NewBookServer() *BookServer

func (BookServer) GetBooksByBookmarkID

func (s BookServer) GetBooksByBookmarkID(ctx context.Context, r *api.GetBooksByBookmarkIDRequest) (*api.GetBooksResponse, error)

func (BookServer) GetBooksByUserID

func (BookServer) RegisterBook

func (BookServer) UpdateBookmarkID

func (BookServer) UpdateReadStatus

type GoalServer

type GoalServer struct {
	api.UnimplementedGoalServer
}

func NewGoalServer

func NewGoalServer() *GoalServer

type ReadEventServer

type ReadEventServer struct {
	api.UnimplementedReadEventServer
}

func NewReadEventServer

func NewReadEventServer() *ReadEventServer

func (ReadEventServer) CreateReadEvent

func (ReadEventServer) GetReadEventsByBookID

Jump to

Keyboard shortcuts

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