functionservice

package
v0.0.0-...-af040da Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	Image string `json:"image"`
	Port  int    `json:"port"`
	Route string `json:"route"`
	Id    uuid.UUID
}

type FunctionService

type FunctionService interface {
	CreateFunction(Function) (int, error)
	DeleteFunction(uuid.UUID) error
	GetFunctions() ([]Function, error)
	Close() error
}

func New

func New() (FunctionService, error)

Jump to

Keyboard shortcuts

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