model

package
v0.0.0-...-c829b85 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToProtobufCharacters

func ToProtobufCharacters(chars []*Character) []*pb.Character

Types

type Account

type Account struct {
	ID   AccountId
	Name string
	Keys map[string]*ecdsa.PublicKey
}

type AccountId

type AccountId int64

type Character

type Character struct {
	Id   CharacterId
	Name string
}

func (*Character) ToProtobuf

func (c *Character) ToProtobuf() *pb.Character

type CharacterId

type CharacterId int64

type Publickey

type Publickey struct {
	Key  *ecdsa.PublicKey
	Name string
}

Jump to

Keyboard shortcuts

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