Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface { // Serve is called for serving requests. Serve() error // GracefulStop is called for stopping the server. GracefulStop() // RandomPoetries returns a random list of poetries. RandomPoetries(ctx context.Context, in *poetry.RandomPoetriesRequest) (*poetry.PoetryList, error) }
Server defines the available operations for gRPC server.
Click to show internal directories.
Click to hide internal directories.