postgres

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: 9 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) RunGet

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

PostgreSQL连接信息

type TestAction

type TestAction actions.Action

func (*TestAction) RunPost

func (this *TestAction) RunPost(params struct {
	DBType     string `alias:"dbType"`
	Addr       string
	Username   string
	Password   string
	DBName     string `alias:"dbName"`
	AutoCreate bool
})

测试数据库

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) RunGet

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

修改界面

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	Addr     string
	Username string
	Password string
	DBName   string `alias:"dbName"`
	PoolSize int
	Must     *actions.Must
})

保存修改

Jump to

Keyboard shortcuts

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