Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(targetPort int)
Types ¶
type BookstoreServer ¶
type BookstoreServer struct {
bpb.UnimplementedBookstoreServer
}
func NewBookstoreServer ¶
func NewBookstoreServer() *BookstoreServer
func (BookstoreServer) CreateBook ¶
func (BookstoreServer) CreateBook(_ context.Context, r *bpb.CreateBookRequest) (*bpb.Book, error)
func (BookstoreServer) ReadBook ¶
func (BookstoreServer) ReadBook(_ context.Context, r *bpb.ReadBookRequest) (*bpb.Book, error)
Click to show internal directories.
Click to hide internal directories.