template

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishTemplateService added in v1.1.0

func PublishTemplateService(s *as.Server) error

PublishTemplateService publishes 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