graph

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	ID               uint `gorm:"primary_key"`
	Endpoint         string
	Ts               int               `json:"-"`
	TCreate          time.Time         `json:"-"`
	TModify          time.Time         `json:"-"`
	EndpointCounters []EndpointCounter `gorm:"ForeignKey:EndpointIDE"`
}

func (Endpoint) TableName

func (Endpoint) TableName() string

type EndpointCounter

type EndpointCounter struct {
	ID         uint `gorm:"primary_key"`
	EndpointID int
	Counter    string
	Step       int
	Type       string
	Ts         int
	TCreate    time.Time
	TModify    time.Time
}

func (EndpointCounter) TableName

func (EndpointCounter) TableName() string

type TagEndpoint

type TagEndpoint struct {
	ID         uint `gorm:"primary_key"`
	Tag        string
	EndpointID int
	Ts         int
	TCreate    time.Time
	TModify    time.Time
}

func (TagEndpoint) TableName

func (TagEndpoint) TableName() string

Jump to

Keyboard shortcuts

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