service

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartWebServer

func StartWebServer(data *Data) error

StartWebServer starts the HTTP service and listens for the requests

Types

type ClitWorker

type ClitWorker interface {
	Process(words []*api.CliticsInput) ([]*api.CliticsOutput, error)
}

ClitWorker returns available clitics in a list

type Data

type Data struct {
	Worker ClitWorker
	Port   int
}

Data is service operation data

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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