handlers

package
v0.0.0-...-1fec092 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

func New

func New(logger *zap.SugaredLogger) *Handlers

func (*Handlers) ActivateSbc

func (h *Handlers) ActivateSbc(w http.ResponseWriter, r *http.Request)

func (*Handlers) CreateSbc

func (h *Handlers) CreateSbc(w http.ResponseWriter, r *http.Request)

func (*Handlers) DeactivateSbc

func (h *Handlers) DeactivateSbc(w http.ResponseWriter, r *http.Request)

func (*Handlers) DeleteSbc

func (h *Handlers) DeleteSbc(w http.ResponseWriter, r *http.Request)

func (*Handlers) ListSbcs

func (h *Handlers) ListSbcs(w http.ResponseWriter, r *http.Request)

ListSbcs returns the current SBCs list todo: populate with logic. currently a stub

Jump to

Keyboard shortcuts

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