server

package
v0.0.0-...-4c42442 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRouteRequest

type CreateRouteRequest struct {
	Path       string `json:"path"`
	FunctionId string `json:"function_id"`
}

type Options

type Options struct {
	DatabaseName string
}

type Server

type Server struct {
	App      *echo.Echo
	Docker   *client.Client
	Database *database.Database
	Manager  *runner.ContextManager
}

func New

func New(opts Options) (*Server, error)

func (*Server) Start

func (s *Server) Start(addr string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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