handler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

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

Dependencies handler object

func NewDependenciesHandler

func NewDependenciesHandler(zlog *zap.Logger, depService service.Dep) *Dependencies

NewDependenciesHandler return new dependencies handler instance

func (Dependencies) ResolveDependencies

func (handler Dependencies) ResolveDependencies(w http.ResponseWriter, req *http.Request)

ResolveDependencies handler by package name and version

type System

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

System handler object

func NewSystemHandler

func NewSystemHandler(zlog *zap.Logger) *System

NewSystemHandler return new dependencies handler instance

func (System) Ping

func (handler System) Ping(w http.ResponseWriter, req *http.Request)

Ping health handler

Jump to

Keyboard shortcuts

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