empty.go 338 字节
Newer Older
Y
Your Name 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package application

import "github.com/eolinker/goku-api-gateway/goku-node/common"

type EmptyApplication struct {
	response string
}

func (app *EmptyApplication) Execute(ctx *common.Context) {
	panic("implement me")
}

func NewEmptyApplication(response string) *EmptyApplication {
	return &EmptyApplication{
		response: response,
	}
}