observers

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnectionState = observer.New(ClientState{})

Functions

This section is empty.

Types

type ClientState

type ClientState struct {
	Status    string
	ID        string
	IP        string
	HostName  string
	Version   string
	Timestamp time.Time
}

func (ClientState) Json added in v1.0.5

func (cs ClientState) Json() ([]byte, error)

func (ClientState) Summary added in v1.0.5

func (cs ClientState) Summary() string

Jump to

Keyboard shortcuts

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