connectgo

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const BiDirectionalStreamingTemplate = `` /* 708-byte string literal not displayed */

BiDirectionalStreamingTemplate template for a BiDirectional streaming connect-go gRPC method.

View Source
const MethodTemplate = `` /* 451-byte string literal not displayed */

MethodTemplate template for an unimplemented unary connect-go gRPC method.

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

ServerTemplate template for a connect-go gRPC / HTTP server.

View Source
const ServiceHandleTemplate = `

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

TODO add in health. (or try using for loops within templates)

View Source
const ServiceTemplate = `` /* 259-byte string literal not displayed */

ServiceTemplate template for the body of a file that creates a struct for your service handler + a constructor.

View Source
const StreamingClientTemplate = `` /* 615-byte string literal not displayed */

StreamingClientTemplate template for a StreamingClient connect-go gRPC method.

View Source
const StreamingServiceTemplate = `` /* 721-byte string literal not displayed */

StreamingServiceTemplate template for a StreamingServer connect-go gRPC method.

View Source
const TestBiDirectionalStreamFileTemplate = `` /* 1695-byte string literal not displayed */

TestClientStreamFileTemplate will create a test file with all boiler plate for testing a BiDirectional Streaming gRPC method.

View Source
const TestClientStreamFileTemplate = `` /* 1353-byte string literal not displayed */

TestClientStreamFileTemplate will create a test file with all boiler plate for testing a StreamingClient gRPC method.

View Source
const TestFileTemplate = `` /* 552-byte string literal not displayed */

TestFileTemplate will create a test file for a unary gRPC server.

View Source
const TestServerStreamFileTemplate = `` /* 1235-byte string literal not displayed */

TestServerStreamFileTemplate will create a test file with all boiler plate for testing a StreamingServer gRPC method.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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