configgrp

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package configgrp maintains the group of handlers for config access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Config config.Core
	K      *kernel.Kernel
}

Handlers manages the set of config endpoints.

func (Handlers) Create

Create adds a new config to the system.

func (Handlers) Delete

Delete removes one or many configs from the system.

func (Handlers) QueryByKey

func (h Handlers) QueryByKey(ctx context.Context, w http.ResponseWriter, r *http.Request) error

QueryByKey returns a config by its Key.

func (Handlers) Update

Update updates a config in the system.

Jump to

Keyboard shortcuts

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