handler

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerOption

type HandlerOption struct {
	commons.Options
	*service.Services
}

HandlerOption option for handler, including all service

type HealthCheckHandler

type HealthCheckHandler struct {
	HandlerOption
	http.Handler
}

HealthCheckHandler object for health check handler

func (HealthCheckHandler) HealthCheck

func (h HealthCheckHandler) HealthCheck(w http.ResponseWriter, r *http.Request) (data interface{}, pageToken *string, err error)

HealthCheck checking if all work well

Jump to

Keyboard shortcuts

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