Help us shape the future of Go! Take the 2026 Go Developer Survey

migrateservice

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() service.Service

New instanciates a new API object

Types

type Configuration

type Configuration struct {
	Name       string                          `toml:"name" comment:"Name of this CDS Database Migrate service\n Enter a name to enable this service" json:"name"`
	URL        string                          `default:"http://localhost:8087" json:"url"`
	Directory  string                          `toml:"directory" comment:"SQL Migration files directory" default:"sql" json:"directory"`
	HTTP       service.HTTPRouterConfiguration `` /* 146-byte string literal not displayed */
	API        service.APIServiceConfiguration `toml:"api" comment:"####################\n CDS API Settings \n###################" json:"api"`
	ServiceAPI struct {
		Enable bool                     `toml:"enable" default:"true" comment:"set to false to disable migration for API database" json:"enable"`
		DB     database.DBConfiguration `` /* 127-byte string literal not displayed */
	} `` /* 192-byte string literal not displayed */
	ServiceCDN struct {
		Enable bool                     `toml:"enable" default:"true" comment:"set to false to disable migration for CDN database" json:"enable"`
		DB     database.DBConfiguration `` /* 127-byte string literal not displayed */
	} `` /* 192-byte string literal not displayed */
}

Configuration is the exposed type for database API configuration

Jump to

Keyboard shortcuts

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