- About this module
- Installation
- Usage
- Code of Conduct
- Working Language
- Support and Feedback
- How to Contribute
- Licensing
You can use the apimanager
module to manage APIs in your Go application.
This module provides a simple way to manage an API server with the ability to add routes, route-groups, and middlewares. It is built on top of the gofiber/fiber framework.
Additionally, it provides several packages with common utilities to manage APIs, such as:
apimanager
: The main package to manage APIs.apimanager/middleware
: A package with common middlewares.apimanager/fiberutils
: A package with utilities to work with the Fiber framework. This includes request and response utilities, as well as generic parsers that can be used in combination with the request utilities.
To install, run:
go get github.com/lvlcn-t/go-kit/apimanager
And import the package in your code:
import (
"github.com/lvlcn-t/go-kit/apimanager"
"github.com/lvlcn-t/go-kit/apimanager/middleware"
"github.com/lvlcn-t/go-kit/apimanager/fiberutils"
)
The documentation for this module can be found on pkg.go.dev.
To see how to use this module, you can check the examples directory of the repository.
This project has adopted the Contributor Covenant in version 2.1 as our code of conduct. Please see the details in our CODE_OF_CONDUCT.md. All contributors must abide by the code of conduct.
We decided to apply English as the primary project language.
Consequently, all content will be made available primarily in English. We also ask all interested people to use English as the preferred language to create issues, in their code (comments, documentation, etc.) and when you send requests to us. The application itself and all end-user facing content will be made available in other languages as needed.
The following channels are available for discussions, feedback, and support requests:
Type | Channel |
---|---|
Issues |
Contribution and feedback is encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright (c) 2024 lvlcn-t.
Licensed under the MIT (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at https://www.mit.edu/~amini/LICENSE.md.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an " AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.