api

package
v0.0.0-...-74dc2ef Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Api = "api"
)

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) GetBookmarkStatus

func (BookServer) GetBooks

func (BookServer) GetReadPages

func (BookServer) GetReadPagesByBookID

func (BookServer) GetReadPagesWithDuration

func (BookServer) GetReadRatio

func (BookServer) GetReadSeconds

func (BookServer) RegisterBook

func (BookServer) UpdateBookmarkID

func (BookServer) UpdateReadStatus

type GoalServer

type GoalServer struct {
	api.UnimplementedGoalServer
}

func NewGoalServer

func NewGoalServer() *GoalServer

func (GoalServer) CreateGoal

func (GoalServer) GetGoals

type MatchServer

type MatchServer struct {
	api.UnimplementedMatchServer
}

func NewMatchServer

func NewMatchServer() *MatchServer

func (MatchServer) GetOpponents

func (MatchServer) GetRanking

func (MatchServer) GetUsers

func (MatchServer) RegisterOpponents

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