pandora

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PandoraServiceClient

type PandoraServiceClient struct {
	pandoraproto.PandoraServiceClient
	// contains filtered or unexported fields
}

func NewPandoraServiceClient

func NewPandoraServiceClient() (*PandoraServiceClient, error)

func (*PandoraServiceClient) CloseConnection

func (c *PandoraServiceClient) CloseConnection()

func (*PandoraServiceClient) SendGuessRequest added in v1.2.3

func (c *PandoraServiceClient) SendGuessRequest(level uint32, guess int64) (*pandoraproto.GuessNumberResponse, error)

func (*PandoraServiceClient) SendOpenBoxRequest added in v1.2.3

func (c *PandoraServiceClient) SendOpenBoxRequest(lockedPandoraBox *pandoraproto.LockedPandoraBox) (*pandoraproto.OpenedPandoraBox, error)

type PandoraServiceServer

type PandoraServiceServer struct {
	pandoraproto.UnimplementedPandoraServiceServer
	// contains filtered or unexported fields
}

func NewPandoraServiceServer

func NewPandoraServiceServer() *PandoraServiceServer

func (*PandoraServiceServer) GuessNumber

func (*PandoraServiceServer) OpenBox

func (*PandoraServiceServer) Start

func (s *PandoraServiceServer) Start() error

Jump to

Keyboard shortcuts

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