service

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 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