templates

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const FirebaseCreateMethod = `` /* 568-byte string literal not displayed */
View Source
const FirebaseDeleteMethod = `` /* 470-byte string literal not displayed */
View Source
const FirebaseGetMethod = `` /* 700-byte string literal not displayed */
View Source
const FirebaseInitServiceHandlerTemplate = `` /* 681-byte string literal not displayed */

TODO change createNewService to take in PKG param.

View Source
const FirebaseListMethod = `` /* 957-byte string literal not displayed */
View Source
const FirebaseServer = `` /* 1331-byte string literal not displayed */
View Source
const FirebaseService = `` /* 433-byte string literal not displayed */
View Source
const FirebaseUpdateMethod = `` /* 606-byte string literal not displayed */
View Source
const MethodCallerTemplate = `%s *%s`
View Source
const MethodTemplate = `` /* 371-byte string literal not displayed */
View Source
const RegisterServiceTemplate = `` /* 136-byte string literal not displayed */

RegisterServiceTemplate handles registering your service + reflection for that endpoint.

View Source
const ServerTemplate = `` /* 634-byte string literal not displayed */

ServerTemplate template for a gRPC server that runs your service.

View Source
const ServiceHandleTemplate = `

mux.Handle({{.Pkg}}connect.New{{.ServiceName}}Handler(createNewService()))
`

TODO have createNewService() be for each different pkg

View Source
const ServiceTemplate = `` /* 258-byte string literal not displayed */
View Source
const TestFileTemplate = `` /* 511-byte string literal not displayed */

Variables

This section is empty.

Functions

func ExecuteTemplate

func ExecuteTemplate(tplate string, data any) string

ExecuteTemplate something to implement templates.

Types

This section is empty.

Jump to

Keyboard shortcuts

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