cmdhelpers

package
v0.0.0-...-e5415f8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDealerPrivateKey

func LoadDealerPrivateKey(path string) (ed25519.PrivateKey, error)

func LoadDealerPublicKey

func LoadDealerPublicKey(path string) (ed25519.PublicKey, error)

func LoadPlayerPrivateKey

func LoadPlayerPrivateKey(path string) (*rsa.PrivateKey, error)

func LoadPlayerPublicKey

func LoadPlayerPublicKey(path string) (*rsa.PublicKey, error)

func ReadOrMake

func ReadOrMake(path string) (string, bool, error)

func StateFile

func StateFile(explicit, dealFilePath, playerKeyPath string) string

StateFile returns a default name for the state file of a game/player combination

Types

This section is empty.

Jump to

Keyboard shortcuts

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