Documentation ¶
Index ¶
- type ChartColl
- func (c *ChartColl) Create(obj *models.Chart) error
- func (c *ChartColl) Delete(name string) error
- func (c *ChartColl) EnsureIndex(ctx context.Context) error
- func (c *ChartColl) Exist(name string) bool
- func (c *ChartColl) Get(name string) (*models.Chart, error)
- func (c *ChartColl) GetCollectionName() string
- func (c *ChartColl) List() ([]*models.Chart, error)
- func (c *ChartColl) Update(obj *models.Chart) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartColl ¶
type ChartColl struct { *mongo.Collection // contains filtered or unexported fields }
func NewChartColl ¶
func NewChartColl() *ChartColl
func (*ChartColl) GetCollectionName ¶
Click to show internal directories.
Click to hide internal directories.