package
1.8.8
Repository: https://github.com/tetrateio/grpcurl.git
Documentation: pkg.go.dev

# README

bankdemo

The bankdemo program is an example gRPC server that was used to demo grpcurl at Gophercon 2018.

It demonstrates interesting concepts for building a gRPC server, including chat functionality (that relies on full-duplex bidirectional streams). This code was written specifically to provide an interesting concrete demonstration and, as such, should not be considered in any way production-worthy.

The demo app tracks user accounts, transactions, and balances completely in memory. Every few seconds, as well as on graceful shutdown (like when the server receives a SIGTERM or SIGINT signal), this state is saved to a file named accounts.json, so that the data can be restored if the process restarts.

In addition to bank account data, the server also tracks "chat sessions", for demonstrating bidirectional streams in the form of an application where customers can chat with support agents.

# Functions

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

# Constants

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

# Variables

Enum value maps for Account_Type.
Enum value maps for Account_Type.
Bank_ServiceDesc is the grpc.ServiceDesc for Bank service.
Enum value maps for DepositRequest_Source.
Enum value maps for DepositRequest_Source.
No description provided by the author
No description provided by the author
Support_ServiceDesc is the grpc.ServiceDesc for Support service.
Enum value maps for Void.
Enum value maps for Void.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedBankServer must be embedded to have forward compatible implementations.
UnimplementedSupportServer must be embedded to have forward compatible implementations.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
BankClient is the client API for Bank service.
BankServer is the server API for Bank service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SupportClient is the client API for Support service.
SupportServer is the server API for Support service.
UnsafeBankServer may be embedded to opt out of forward compatibility for this service.
UnsafeSupportServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

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