provider

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
}

HealthCheck is the struct defines provider health check

func (*HealthCheck) HighwayCheck

func (hc *HealthCheck) HighwayCheck(_ context.Context, _ *client.Request) (*client.Reply, error)

HighwayCheck returns status OK and self serviceName

func (*HealthCheck) RestCheck

func (hc *HealthCheck) RestCheck(ctx *rf.Context)

RestCheck returns status OK and self serviceName

func (*HealthCheck) URLPatterns

func (hc *HealthCheck) URLPatterns() []rf.Route

URLPatterns returns HealthCheck's routes

Jump to

Keyboard shortcuts

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