gapi

package
v0.0.0-...-fbafe68 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

func NewServer

func NewServer(env *bootstrap.Env, db bootstrap.Database, timeout time.Duration) (*Server, error)

NewServer creates a new gRPC server

func (*Server) Create

func (*Server) DeleteById

func (s *Server) DeleteById(ctx context.Context, req *pb.DeleteBookRequest) (*pb.DeleteBookResponse, error)

func (*Server) FetchAll

func (*Server) FetchById

func (*Server) Update

Jump to

Keyboard shortcuts

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