entity

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSource

type DataSource struct {
	Id         bson.ObjectId `json:"_id" bson:"_id"`
	Type       string        `json:"type" bson:"type"`
	Host       string        `json:"host" bson:"host"`
	Port       string        `json:"port" bson:"port"`
	Database   string        `json:"database" bson:"database"`
	Username   string        `json:"username" bson:"username"`
	Password   string        `json:"password" bson:"password"`
	AuthSource string        `json:"auth_source" bson:"auth_source"`
	UserId     bson.ObjectId `json:"user_id" bson:"user_id"`
	CreateTs   time.Time     `json:"create_ts" bson:"create_ts"`
	UpdateTs   time.Time     `json:"update_ts" bson:"update_ts"`
}

type Item

type Item map[string]interface{}

Jump to

Keyboard shortcuts

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