httpsrv

package
v0.0.0-...-97a122e Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

* * Generated by go-doudou v2.0.1. * Don't edit!

* * Generated by go-doudou v2.0.1. * You can edit it as your need.

* * Generated by go-doudou v2.0.1. * You can edit it as your need.

Index

Constants

This section is empty.

Variables

View Source
var RouteAnnotationStore = framework.AnnotationStore{}

Functions

func Routes

func Routes(handler DemoHandler) []rest.Route

Types

type DemoHandler

type DemoHandler interface {
	GetHealth(w http.ResponseWriter, r *http.Request)
}

func NewDemoHandler

func NewDemoHandler(demo service.Demo) DemoHandler

type DemoHandlerImpl

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

func (*DemoHandlerImpl) GetHealth

func (receiver *DemoHandlerImpl) GetHealth(_writer http.ResponseWriter, _req *http.Request)

Jump to

Keyboard shortcuts

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