aftg

package
v0.0.0-...-807dce9 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterApiKey

func RegisterApiKey(context echo.Context) error

Types

type Connector

type Connector struct {
	ApiKey      string
	RetryAmount int8
}

func (*Connector) AddTag

func (aftg *Connector) AddTag(tag Tag, clockDelta int64)

func (*Connector) GetMe

func (aftg *Connector) GetMe() error

func (*Connector) GetSrvDelay

func (aftg *Connector) GetSrvDelay() int64

type NTP

type NTP struct {
	SrvReceptionTime       int64 `json:"srvReceptionTime"`
	ClientTransmissionTime int64 `json:"clientTransmissionTime"`
	SrvTransmissionTime    int64 `json:"srvTransmissionTime"`
	ClientReceptionTime    int64 `json:"clientReceptionTime"`
}

type RegisterApiKeyRequest

type RegisterApiKeyRequest struct {
	Key string `json:"key"`
}

type Tag

type Tag struct {
	Name           string `json:"name"`
	TimestampBegin int64  `json:"timestampBegin"`
	TimestampEnd   int64  `json:"timestampEnd"`
	ProductName    string `json:"productName"`
	TagName        string `json:"tagName"`
}

Jump to

Keyboard shortcuts

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