Categorygithub.com/plainq/servekit
modulepackage
0.2.21
Repository: https://github.com/plainq/servekit.git
Documentation: pkg.go.dev

# README

The servkit helps to build APIs.

Is a set of well-tested (or not well 🤭) reusable components to speedup day-to-day development of HTTP and gRPC APIs.

⚠️👷‍♂️🚧 Under construction! There could be a breaking changes until v1.0.0.

Docs

The code should be very straightforward to read, but you always can check the go docs.

On the shoulders of giants

Contributing guidelines

You can find our guidelines here.

License

MIT License

# Packages

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
Package idkit provides the set of functions to generate different kind of identifiers.
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

# Functions

NewServer creates a new Server instance with an empty listeners map and returns a pointer to the created Server.

# Constants

ErrCertPathRequired represents an error message indicating that a certificate file path is required.
ErrGracefullyShutdown represents an error message indicating the failure to gracefully shut down a listener.
ErrPrivateKeyPathRequired represents an error message indicating that a private key file path is required.

# Structs

Server is a type that represents a server that holds a map of listeners.

# Interfaces

Listener is an interface that represents a listener which can serve requests.

# Type aliases

Error represents a package level error.