Help us shape the future of Go! Take the 2026 Go Developer Survey

tpl

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BootstrapTpl string = `` /* 412-byte string literal not displayed */

BootstrapTpl is the template for generating bootstrap.sh.

View Source
var BuildTpl string = `` /* 284-byte string literal not displayed */

BuildTpl is the template for generating build.sh.

View Source
var ClientTpl string = `` /* 6363-byte string literal not displayed */

ClientTpl is the template for generating client.go.

View Source
var ClientTplV2 string = `` /* 3512-byte string literal not displayed */

ClientTplV2 is the template for generating client.go. Enabled when streamx is specified.

View Source
var HandlerMethodsTpl string = `` /* 1211-byte string literal not displayed */

HandlerMethodsTpl is the template for generating methods in handler.go.

View Source
var HandlerTpl string = `` /* 369-byte string literal not displayed */

HandlerTpl is the template for generating handler.go.

View Source
var InvokerTpl string = `` /* 889-byte string literal not displayed */

InvokerTpl is the template for generating invoker.go.

View Source
var MainMultipleServicesTpl string = `` /* 527-byte string literal not displayed */
View Source
var MainTpl string = `` /* 383-byte string literal not displayed */

MainTpl is the template for generating main.go

View Source
var ServerTpl string = `` /* 1148-byte string literal not displayed */

ServerTpl is the template for generating server.go.

View Source
var ServiceTpl string = `` /* 15742-byte string literal not displayed */

ServiceTpl is the template for generating the servicename.go source.

View Source
var ServiceTplV2 string = `` /* 11835-byte string literal not displayed */

ServiceTplV2 is the template for generating the servicename.go source. Enabled when streamx is specified.

View Source
var ToolVersionTpl string = `kitexinfo:
   ServiceName: '{{.RealServiceName}}'
   ToolVersion: '{{.Version}}'
`

ToolVersionTpl is the template for generating the .kitex source.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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