Documentation ¶
Overview ¶
Package sdk is a generated protocol buffer package.
It is generated from these files:
sdk.proto
It has these top-level messages:
Empty
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSDKServer ¶
Types ¶
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type SDKClient ¶
type SDKClient interface { // Call when the GameServer is ready Ready(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // Call when the GmaeServer is shutting down Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // Send a Empty every d Duration to declare that this GameSever is healthy Health(ctx context.Context, opts ...grpc.CallOption) (SDK_HealthClient, error) }
func NewSDKClient ¶
func NewSDKClient(cc *grpc.ClientConn) SDKClient
type SDKServer ¶
type SDKServer interface { // Call when the GameServer is ready Ready(context.Context, *Empty) (*Empty, error) // Call when the GmaeServer is shutting down Shutdown(context.Context, *Empty) (*Empty, error) // Send a Empty every d Duration to declare that this GameSever is healthy Health(SDK_HealthServer) error }
type SDK_HealthClient ¶
type SDK_HealthServer ¶
Click to show internal directories.
Click to hide internal directories.