x

package
v0.7.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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