x

package
v0.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFile

func ConfigFile(t testing.TB, values map[string]interface{}) string

Types

type DsnT

type DsnT struct {
	Name string
	Conn string
}

func GetDSNs

func GetDSNs(t testing.TB) []*DsnT

type LoggerProvider

type LoggerProvider interface {
	Logger() *logrusx.Logger
}

type PaginationOptionSetter

type PaginationOptionSetter func(*PaginationOptions) *PaginationOptions

func WithSize

func WithSize(size int) PaginationOptionSetter

func WithToken

func WithToken(t string) PaginationOptionSetter

type PaginationOptions

type PaginationOptions struct {
	Token string `json:"page_token"`
	Size  int    `json:"page_size"`
}

func GetPaginationOptions

func GetPaginationOptions(modifiers ...PaginationOptionSetter) *PaginationOptions

type ReadRouter

type ReadRouter struct {
	*httprouter.Router
}

type WriteRouter

type WriteRouter struct {
	*httprouter.Router
}

type WriterProvider

type WriterProvider interface {
	Writer() herodot.Writer
}

Jump to

Keyboard shortcuts

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