mongo

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanAction added in v0.1.2

type CleanAction actions.Action

func (*CleanAction) Run added in v0.1.2

func (this *CleanAction) Run(params struct{})

设置自动清理

type CleanUpdateAction added in v0.1.2

type CleanUpdateAction actions.Action

func (*CleanUpdateAction) Run added in v0.1.2

func (this *CleanUpdateAction) Run(params struct{})

自动清理设置

func (*CleanUpdateAction) RunPost added in v0.1.2

func (this *CleanUpdateAction) RunPost(params struct {
	AccessLogCleanHour int
	AccessLogKeepDays  int
	Must               *actions.Must
})

保存自动清理设置

type CollStatAction added in v0.1.2

type CollStatAction actions.Action

func (*CollStatAction) Run added in v0.1.2

func (this *CollStatAction) Run(params struct {
	CollNames []string
})

集合统计

type CollsAction added in v0.1.2

type CollsAction actions.Action

func (*CollsAction) Run added in v0.1.2

func (this *CollsAction) Run(params struct{})

集合列表

type DataAction added in v0.1.2

type DataAction actions.Action

func (*DataAction) Run added in v0.1.2

func (this *DataAction) Run(params struct{})

数据清理

type DeleteCollAction added in v0.1.2

type DeleteCollAction actions.Action

func (*DeleteCollAction) Run added in v0.1.2

func (this *DeleteCollAction) Run(params struct {
	CollName string
})

删除集合

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct{})

MongoDB连接信息

type InstallAction

type InstallAction actions.Action

func (*InstallAction) Run

func (this *InstallAction) Run(params struct{})

func (*InstallAction) RunPost

func (this *InstallAction) RunPost(params struct{})

type InstallStatusAction

type InstallStatusAction actions.Action

func (*InstallStatusAction) Run

func (this *InstallStatusAction) Run(params struct{})

type TestAction

type TestAction actions.Action

func (*TestAction) Run

func (this *TestAction) Run(params struct {
	Host                    string
	Port                    uint
	Username                string
	Password                string
	AuthMechanism           string
	AuthMechanismProperties string
})

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) Run

func (this *UpdateAction) Run(params struct{})

修改连接

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	Host                    string
	Port                    uint
	Username                string
	Password                string
	AuthMechanism           string
	AuthMechanismProperties string

	Must *actions.Must
})

提交保存

Jump to

Keyboard shortcuts

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