api

package
v0.0.0-...-d66abba Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(rc *redis.Client) (*Service, error)

func (*Service) EnvHandler

func (s *Service) EnvHandler(rw http.ResponseWriter, req *http.Request)

func (*Service) Init

func (s *Service) Init(r *mux.Router)

func (*Service) ListPushHandler

func (s *Service) ListPushHandler(rw http.ResponseWriter, req *http.Request)

func (*Service) ListRangeHandler

func (s *Service) ListRangeHandler(rw http.ResponseWriter, req *http.Request)

func (*Service) LivezHandler

func (s *Service) LivezHandler(rw http.ResponseWriter, req *http.Request)

func (*Service) ReadyzHandler

func (s *Service) ReadyzHandler(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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