ledasdk

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 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 AppJson added in v0.0.5

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

func ReadAppFromJson added in v0.0.5

func ReadAppFromJson(fileName string) AppJson

type Meta added in v0.0.5

type Meta struct {
	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 ServiceJson added in v0.0.5

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

func ReadServiceFromJson added in v0.0.7

func ReadServiceFromJson(fileName string) ServiceJson

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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