config

package
v0.2.92 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func New

func New(options *options.Options, logger *zerolog.Logger) *Config

func (*Config) App

func (a *Config) App() *fiber.App

func (*Config) Config

func (a *Config) Config(ctx *fiber.Ctx) error

Config godoc @Summary Config gets the public configuration of the API @Description Config gets the public configuration of the API @Tags config @Accept json @Produce json @Success 200 {array} models.ConfigResponse @Failure 401 {string} string @Failure 500 {string} string @Router /config [get]

Jump to

Keyboard shortcuts

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