models

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeHost

type CodeHost struct {
	ID          int    `bson:"id"           json:"id"`
	Type        string `bson:"type"         json:"type"`
	Address     string `bson:"address"      json:"address"`
	Namespace   string `bson:"namespace"    json:"namespace"`
	AccessToken string `bson:"access_token" json:"accessToken"`
}

func (CodeHost) TableName

func (CodeHost) TableName() string

type Organization

type Organization struct {
	ID    int    `bson:"id"              json:"id"`
	Token string `bson:"token,omitempty" json:"token,omitempty"`
}

func (Organization) TableName

func (Organization) TableName() string

Jump to

Keyboard shortcuts

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