api

package
v0.0.0-...-4d73a4e Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	Users *Users
}

type User

type User struct {
	Username string `json:"username"`
}

func NewUser

func NewUser(username string) *User

type Users

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

func (*Users) AddUser

func (users *Users) AddUser(u *User)

func (Users) FindByUsername

func (users Users) FindByUsername(username string) (*User, bool)

func (Users) String

func (users Users) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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