package
0.0.1
Repository: https://github.com/samgozman/go-bloggy.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

# Structs

ConfirmSubscriberRequest defines model for ConfirmSubscriberRequest.
CreateSubscriberRequest defines model for CreateSubscriberRequest.
GetPostsParams defines parameters for GetPosts.
GitHubAuthRequestBody defines model for GitHubAuthRequestBody.
HealthCheckResponse defines model for HealthCheckResponse.
JWTToken defines model for JWTToken.
PostRequest A post object to be created.
PostResponse A post object after it's been created or fetched.
PostsListItem defines model for PostsListItem.
PostsListResponse A list of posts.
PutPostRequest A post object to be updated.
RequestError defines model for RequestError.
ServerInterfaceWrapper converts echo contexts to parameters.
UnsubscribeRequest defines model for UnsubscribeRequest.

# Interfaces

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
ServerInterface represents all server handlers.

# Type aliases

DeleteSubscribersJSONRequestBody defines body for DeleteSubscribers for application/json ContentType.
PostLoginGithubAuthorizeJSONRequestBody defines body for PostLoginGithubAuthorize for application/json ContentType.
PostPostsJSONRequestBody defines body for PostPosts for application/json ContentType.
PostSubscribersConfirmJSONRequestBody defines body for PostSubscribersConfirm for application/json ContentType.
PostSubscribersJSONRequestBody defines body for PostSubscribers for application/json ContentType.
PutPostsSlugJSONRequestBody defines body for PutPostsSlug for application/json ContentType.