guess

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GuessClient

type GuessClient struct {
	// contains filtered or unexported fields
}

func NewGuessClient

func NewGuessClient() (*GuessClient, error)

func (*GuessClient) GetBox

func (g *GuessClient) GetBox() (*guessproto.OpenedBox, error)

type GuessServiceClient

type GuessServiceClient struct {
	guessproto.GuessServiceClient
	// contains filtered or unexported fields
}

func NewGuessServiceClient

func NewGuessServiceClient() (*GuessServiceClient, error)

func (*GuessServiceClient) CloseConnection

func (c *GuessServiceClient) CloseConnection()

func (*GuessServiceClient) SendGuessRequest

func (c *GuessServiceClient) SendGuessRequest(level uint32, guess int64) (*guessproto.GuessNumberResponse, error)

func (*GuessServiceClient) SendOpenBoxRequest

func (c *GuessServiceClient) SendOpenBoxRequest(lockedBox *guessproto.LockedBox) (*guessproto.OpenedBox, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL