Documentation
¶
Index ¶
Constants ¶
const BiDirectionalStreamingTemplate = `` /* 708-byte string literal not displayed */
BiDirectionalStreamingTemplate template for a BiDirectional streaming connect-go gRPC method.
const MethodTemplate = `` /* 451-byte string literal not displayed */
MethodTemplate template for an unimplemented unary connect-go gRPC method.
const ServerTemplate = `` /* 849-byte string literal not displayed */
ServerTemplate template for a connect-go gRPC / HTTP server.
const ServiceHandleTemplate = `
mux.Handle({{.Pkg}}connect.New{{.ServiceName}}Handler(&{{.ServiceStruct}}{}))
`
TODO add in health. (or try using for loops within templates)
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.
const StreamingClientTemplate = `` /* 615-byte string literal not displayed */
StreamingClientTemplate template for a StreamingClient connect-go gRPC method.
const StreamingServiceTemplate = `` /* 721-byte string literal not displayed */
StreamingServiceTemplate template for a StreamingServer connect-go gRPC method.
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.
const TestClientStreamFileTemplate = `` /* 1353-byte string literal not displayed */
TestClientStreamFileTemplate will create a test file with all boiler plate for testing a StreamingClient gRPC method.
const TestFileTemplate = `` /* 552-byte string literal not displayed */
TestFileTemplate will create a test file for a unary gRPC server.
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.