package
0.0.0-20220822164348-1fb92f6f5a50
Repository: https://github.com/vardius/go-api-boilerplate.git
Documentation: pkg.go.dev

# README

proto

Package proto contains protocol buffer code to populate

Generating client and server code

To generate the gRPC client and server interfaces from *.proto service definition. Use the protocol buffer compiler protoc with a special gRPC Go plugin. For more info read

From this directory run:

$ make build

Running this command generates the following files in this directory:

  • *.pb.go

This contains:

All the protocol buffer code to populate, serialize, and retrieve our request and response message types An interface type (or stub) for clients to call with the methods defined in the services. An interface type for servers to implement, also with the methods defined in the services.


Package proto contains protocol buffer code to populate

# Functions

No description provided by the author
No description provided by the author

# Structs

DispatchUserCommandRequest is passed when dispatching.
GetUserRequest is a request data to read user.
ListUserRequest is a request data to read all user for a given page.
ListUserResponse list of all users.
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
User object.

# Interfaces

UserServiceClient is the client API for UserService service.
UserServiceServer is the server API for UserService service.