server

package
v0.50.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx core.Context)

Types

type LanguageServer

type LanguageServer struct {
	// contains filtered or unexported fields
}

LanguageServer can execute DSL statements received over HTTP

func NewLanguageServer

func NewLanguageServer(ctx core.Context, addr string) *LanguageServer

NewLanguageServer returns a new LanguageService. It is not started.

func (*LanguageServer) Start

func (l *LanguageServer) Start() error

Start will start a HTTP listener for serving DSL statements curl -v -d 'n = note("C")' http://localhost:8118/v1/statements

Jump to

Keyboard shortcuts

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