package
0.7.0
Repository: https://github.com/lawrencejones/pgsink.git
Documentation: pkg.go.dev

# Functions

DecodeListRequest returns a decoder for requests sent to the Tables List endpoint.
EncodeListResponse returns an encoder for responses returned by the Tables List endpoint.
ListTablesPath returns the URL path to the Tables service List HTTP endpoint.
Mount configures the mux to serve the Tables endpoints.
MountListHandler configures the mux to serve the "Tables" service "List" endpoint.
New instantiates HTTP handlers for all the Tables service endpoints using the provided encoder and decoder.
NewListHandler creates a HTTP handler which loads the HTTP request and calls the "Tables" service "List" endpoint.
NewListPayload builds a Tables service List endpoint payload.
NewListResponseBody builds the HTTP response body from the result of the "List" endpoint of the "Tables" service.

# Structs

MountPoint holds information about the mounted endpoints.
Server lists the Tables service endpoint HTTP handlers.
TableResponse is used to define fields on response body types.

# Interfaces

ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.

# Type aliases

ListResponseBody is the type of the "Tables" service "List" endpoint HTTP response body.