package
0.0.0-20220127180550-f040671f88a0
Repository: https://github.com/cagnosolutions/go-web-ddd.git
Documentation: pkg.go.dev

# README

webapp

webapp is a lightweight, yet fully featured full stack web framework

webapp contains the following "modules" available through the WebApp:

  • templates which provides a template engine and handles caching
  • sessions which handles authentication and session management
  • logger which handles leveled http logging and metrics
  • servemux which provides a http request multiplexer
  • middleware which provides http middleware options and helpers
  • httperror which provides some default http error handling options

Everything in the webapp package was designed to fit together nicely, while still remaining small and easy to use.

We tried to keep as many things standard library compatible as we could. Anything that is not standard library compatible will be listed below:

  • NA

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Base64Decode takes a base64 encoded string and returns a plaintext string.
Base64Encode takes a plaintext string and returns a base64 encoded string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewChain creates a new chain, memorizing the given list of middleware handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSessionStore takes a session id and a make session timeout.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RandStringN creates a random string N characters in length.
No description provided by the author
URLDecode takes a URL encoded string and returns a plaintext string.
URLEncode takes a plaintext string and returns a URL encoded string.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Chain acts as a list of http.Handler middlewares.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SessionConfig is a configuration object for a session manager.
SessionStore implements the session manager interface and is a basic session manager using cookies.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Middleware is a piece of middleware.