server

package
v0.0.0-...-2edd2e0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BorrowsServer

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

func NewBorrowsServer

func NewBorrowsServer(l hclog.Logger, db *gorm.DB, nc *clients.NotificationsClient) *BorrowsServer

func (*BorrowsServer) AddBorrow

func (*BorrowsServer) DeleteBorrow

func (*BorrowsServer) GetAllBorrows

func (*BorrowsServer) GetBookBorrows

func (*BorrowsServer) GetUserBorrows

func (*BorrowsServer) GetUserOnGoingBorrows

func (s *BorrowsServer) GetUserOnGoingBorrows(ctx context.Context, req *protos.GetUserBorrowsRequest) (*protos.GetBorrowsResponse, error)

func (*BorrowsServer) UpdateBorrow

Jump to

Keyboard shortcuts

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