mongo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanAction

type CleanAction actions.Action

func (*CleanAction) Run

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

设置自动清理

type CleanUpdateAction

type CleanUpdateAction actions.Action

func (*CleanUpdateAction) Run

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

自动清理设置

func (*CleanUpdateAction) RunPost

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

保存自动清理设置

type DataAction

type DataAction actions.Action

func (*DataAction) Run

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

数据清理

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
	DBName                  string `alias:"dbName"`
	Username                string
	Password                string
	AuthEnabled             bool
	AuthMechanism           string
	AuthMechanismProperties string
})

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) Run

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

修改连接

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	Host                    string
	Port                    uint
	DBName                  string `alias:"dbName"`
	Username                string
	Password                string
	AuthEnabled             bool
	AuthMechanism           string
	AuthMechanismProperties string
	PoolSize                int
	Timeout                 int

	Must *actions.Must
})

提交保存

Jump to

Keyboard shortcuts

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