ledasdk

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 11 Imported by: 0

README

leda-go-shared

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppMata added in v0.0.2

func GetAppMata(appName string, dbConfig db.DbConfig) (*system.Meta, error)

func GetAppMataById added in v0.0.2

func GetAppMataById(appId shared.ID, dbConfig db.DbConfig) (*system.Meta, error)

func GetServiceMata added in v0.0.2

func GetServiceMata(serviceName string, dbConfig db.DbConfig) (*system.Meta, error)

func GetServiceMataById added in v0.0.2

func GetServiceMataById(serviceId shared.ID, dbConfig db.DbConfig) (*system.Meta, error)

func ReadContentFromJson added in v0.0.3

func ReadContentFromJson(fileName string) meta.UMLMeta

func SyncApp added in v0.0.5

func SyncApp()

func SyncServie added in v0.0.5

func SyncServie()

Types

type App added in v0.0.5

type App struct {
	Id    string `json:"id"`
	Name  string `json:"name"`
	Title string `json:"title"`
}

type AppSeed added in v0.0.9

type AppSeed struct {
	App  App  `json:"app"`
	Meta Meta `json:"meta"`
}

func ReadAppFromJson added in v0.0.5

func ReadAppFromJson(fileName string) (AppSeed, map[string]interface{})

type Meta added in v0.0.5

type Meta struct {
	Id      string       `json:"id"`
	Content meta.UMLMeta `json:"content"`
}

type Service added in v0.0.5

type Service struct {
	Id    string `json:"id"`
	Name  string `json:"name"`
	Title string `json:"title"`
}

type ServiceSeed added in v0.0.9

type ServiceSeed struct {
	Service Service `json:"service"`
	Meta    Meta    `json:"meta"`
}

func ReadServiceFromJson added in v0.0.7

func ReadServiceFromJson(fileName string) (ServiceSeed, map[string]interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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