instance

package
v1.3.0-rc Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigOption

type ConfigOption struct {
	Config  map[string]interface{}
	Options map[string]interface{}
}

Config .

type Instance

type Instance struct {
	Instance       *db.InstanceDB
	InstanceTenant *db.InstanceTenantDB
}

Instance .

func New

func New(gdb *gorm.DB) *Instance

New .

func (*Instance) GetConfigOptionByGroup

func (ins *Instance) GetConfigOptionByGroup(engine, group string) (*ConfigOption, error)

GetConfigGroup .

type ServiceType

type ServiceType string
const (
	ServiceTypeMicroService   ServiceType = "MICRO_SERVICE"
	ServiceTypeGeneralAbility ServiceType = "GENERAL_ABILITY"
	ServiceTypeAddon          ServiceType = "ADDON"
)

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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