schema

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	DatabaseID   uuid.UUID     `bson:"database_id" json:"database_id"`
	ProjectID    uuid.UUID     `bson:"project_id" json:"project_id"`
	Name         string        `bson:"name" json:"name"`
	DatabaseType database.Type `bson:"database_type" json:"database_type"`
	Data         []byte        `bson:"data" json:"data"`
}

func DatabaseFromProto

func DatabaseFromProto(projectID uuid.UUID, d *database.Database) (Database, error)

func (Database) ToProto

func (d Database) ToProto() (*database.Database, error)

Jump to

Keyboard shortcuts

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