service

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: CC0-1.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoDB = mongoDB{}

MongoDB is the service singleton.

View Source
var MySQL = mySQL{}

MySQL is the service singleton.

View Source
var PSQL = pSQL{}

PSQL is the service singleton.

View Source
var Redis = redis{}

Redis is the service singleton.

Functions

This section is empty.

Types

type Service

type Service interface {
	Match(si models.ServiceInstance) bool
	Launch(localPort int, creds models.Credentials) error
}

func GetService

func GetService(si models.ServiceInstance) (Service, bool)

Jump to

Keyboard shortcuts

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