package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev

# Functions

NewClient setups a Client given ip and port.
No description provided by the author
NewServer creates new Server which implements ClientServiceServer interface.
No description provided by the author

# Constants

Constants for client service port.
Deprecated: Do not use.
Deprecated: Do not use.
Deprecated: Do not use.
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: Do not use.
Deprecated: Do not use.
it should be either ENTER or GETPLAYERS but it will be removed later.
Deprecated: Do not use.
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 for client service port.
No description provided by the author
No description provided by the author
Deprecated: Do not use.
Deprecated: Do not use.

# Variables

ClientService_ServiceDesc is the grpc.ServiceDesc for ClientService service.
No description provided by the author
Enum value maps for LotteryRequest_Type.
Enum value maps for LotteryRequest_Type.
Enum value maps for MessageType.
Enum value maps for MessageType.
Enum value maps for ServiceType.
Enum value maps for ServiceType.

# Structs

Client is the client model for client 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
This is universal message for all communication protocols.
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
Server is the Server struct for client service package.
Staking Request from new node to beacon node.
UnimplementedClientServiceServer must be embedded to have forward compatible implementations.
No description provided by the author

# Interfaces

ClientServiceClient is the client API for ClientService service.
ClientServiceServer is the server API for ClientService service.
UnsafeClientServiceServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
MessageType indicates what is the type of this message.
ServiceType indicates which service used to generate this message.