apis

package
v0.0.0-...-3218524 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApi

func InitApi(app core.App) (*echo.Echo, error)

func RegisterEdgesGroup

func RegisterEdgesGroup(app core.App, rg *echo.Group)

func RegisterNodesGroup

func RegisterNodesGroup(app core.App, rg *echo.Group)

func RegisterWorkflowsGroup

func RegisterWorkflowsGroup(app core.App, rg *echo.Group)

func Serve

func Serve(app core.App, config ServeConfig) (*http.Server, error)

Types

type ServeConfig

type ServeConfig struct {
	HttpAddr           string
	HttpsAddr          string
	AllowedOrigins     []string
	ShowStartBanner    bool
	CertificateDomains []string
}

Jump to

Keyboard shortcuts

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