Back to

Package settings

Latest Go to latest

The latest major version is .

Published: Oct 5, 2020 | License: GPL3 | Module:


type Handler

type Handler struct {
	SettingsService service.SettingsService
	View            View

func NewHandler

func NewHandler(p Params) Handler

func (*Handler) Get

func (h *Handler) Get(c echo.Context) error

swagger:route GET /settings settings Settings

Getting a system settings

This endpoint returns system settings

  default: HTTPError
  200: Settings
  400: HTTPError
  404: HTTPError
  500: HTTPError

type Item

type Item struct {
	// example:
	StoreRootURL string `json:"store_root_url"`

swagger:model Settings

type Params

type Params struct {

	SettingsService service.SettingsService
	View            View

type View

type View struct{}

func NewView

func NewView() View

func (View) View

func (v View) View(i *entity.Settings) Item

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier