gorouter: github.com/mandarjog/gorouter/test/common Index | Files

package common

import "github.com/mandarjog/gorouter/test/common"

Index

Package Files

app.go

type TestApp Uses

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

func NewTestApp Uses

func NewTestApp(urls []route.Uri, rPort uint16, mbusClient *nats.Conn, tags map[string]string, routeService string) *TestApp

func (*TestApp) AddHandler Uses

func (a *TestApp) AddHandler(path string, handler func(http.ResponseWriter, *http.Request))

func (*TestApp) CheckAppStatus Uses

func (a *TestApp) CheckAppStatus(status int) error

func (*TestApp) Endpoint Uses

func (a *TestApp) Endpoint() string

func (*TestApp) Listen Uses

func (a *TestApp) Listen()

func (*TestApp) Port Uses

func (a *TestApp) Port() uint16

func (*TestApp) Register Uses

func (a *TestApp) Register()

func (*TestApp) RegisterRepeatedly Uses

func (a *TestApp) RegisterRepeatedly(duration time.Duration)

func (*TestApp) Unregister Uses

func (a *TestApp) Unregister()

func (*TestApp) Urls Uses

func (a *TestApp) Urls() []route.Uri

func (*TestApp) VerifyAppStatus Uses

func (a *TestApp) VerifyAppStatus(status int)

Package common imports 11 packages (graph). Updated 2017-05-27. Refresh now. Tools for package owners. This is a dead-end fork (no commits since the fork).