selectme

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunService

func RunService(s *as.Server) error

RunService runs the service.

Types

type Reply

type Reply struct {
	Output string
}

Reply is the reply for Request to clients

type Request

type Request struct {
	Input string
}

Request is the request from clients. Return *Reply

func (*Request) Handle

func (req *Request) Handle(stream as.ContextStream) (reply any)

Handle handles msg.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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