entity

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 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 AppConfig

type AppConfig struct {
	App struct {
		BindAddress     string `yaml:"bind_address"`
		AuthToken       string `yaml:"auth_token"`
		DieAfter        int    `yaml:"die_after"`
		CertificateFile string `yaml:"certificate_file"`
		KeyFile         string `yaml:"key_file"`
	} `yaml:"app"`
}

type Registrant

type Registrant struct {
	Id       string    `json:"id"`
	Address  string    `json:"address"`
	LastPing time.Time `json:"last_ping,omitempty"`
}

Jump to

Keyboard shortcuts

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