format

package
v0.0.0-...-c9e90d7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPUInfo

type GPUInfo struct {
	Vendor   string `json:"vendor"`
	Renderer string `json:"renderer"`
}

type Info

type Info struct {
	Version  string  `json:"version"`
	Browser  string  `json:"browser"`
	Gpu      GPUInfo `json:"gpu"`
	Platform string  `json:"platform"`
	Cpu      string  `json:"cpu"`
	Ram      string  `json:"ram"`
	UserId   string  `json:"userid"`
}

func InfoFromFile

func InfoFromFile(path string) (info *Info, err error)

func (*Info) GetUserId

func (i *Info) GetUserId() uint64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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