Documentation ¶
Overview ¶
Copyright 2024 Emin Muhammadi
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
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.
Copyright 2024 Emin Muhammadi ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
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.
Copyright 2024 Emin Muhammadi ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
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.
Index ¶
- func ApplyMiddleware(app *fiber.App)
- func CreateServer() *fiber.App
- func ErrorResponse(ctx *fiber.Ctx, code int, data interface{}, message string) error
- func ListenAndServe(app *fiber.App, addr string) error
- func StartInsecureServer(app *fiber.App, addr string) error
- func StartMutualTlsServer(app *fiber.App, addr, certFile, keyFile string, caFile string) error
- func StartServer(app *fiber.App)
- func StartTlsServer(app *fiber.App, addr, certFile, keyFile string) error
- func SuccessResponse(ctx *fiber.Ctx, code int, data interface{}) error
- type ApiMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMiddleware ¶
func ApplyMiddleware(app *fiber.App)
func CreateServer ¶
func CreateServer() *fiber.App
func ErrorResponse ¶
func ListenAndServe ¶
func StartInsecureServer ¶
func StartMutualTlsServer ¶
func StartServer ¶
func StartServer(app *fiber.App)