x

package module
v0.0.0-...-73d6a9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2018 License: MIT Imports: 7 Imported by: 1

README

X

X is a set of modules that make creating HTTP servers fun again.

Disclaimer

DON'T USE THIS FOR PRODUCTION. THE API IS VERY UNSTABLE AND SUBJECT TO CHANGE.

Example

See: https://github.com/dimiro1/x-example

The name

x in math means multiplication, so, x in this library means that your productivity will be increased by multiple times.

THANKS

For the https://github.com/uber-go to create and share the fantastic https://github.com/uber-go/fx package.

Author

Claudemiro Alves Feitosa Neto

LICENSE

Copyright 2018 Claudemiro Alves Feitosa Neto. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module x provide an all in one experience, providing a ready to use HTTP Server, easy health checks declarations, a few common used middleware.

If you want a more configurable solution, just import the modules that you need to use.

Types

This section is empty.

Directories

Path Synopsis
xtemplate provides html/templates this module is different from the others because, this one uses a static configuration into the module itself and does not load configs from env vars, I have made this decision because usually the location of templates is defined at compilation time and not at runtime.
xtemplate provides html/templates this module is different from the others because, this one uses a static configuration into the module itself and does not load configs from env vars, I have made this decision because usually the location of templates is defined at compilation time and not at runtime.

Jump to

Keyboard shortcuts

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