grpcui

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimer = 5 * time.Minute

Functions

func NewDebouncer

func NewDebouncer(after time.Duration) func(f func())

Types

type GrpcUI

type GrpcUI struct {
	// Addr is the address of the gRPC server like 'dns:///localhost:8080'.
	Addr  string        `cfg:"addr"`
	Timer time.Duration `cfg:"timer"`

	BasePath string `cfg:"basepath"`
	// contains filtered or unexported fields
}

func (*GrpcUI) Get

func (m *GrpcUI) Get() http.Handler

func (*GrpcUI) Middleware

func (m *GrpcUI) Middleware() func(http.Handler) http.Handler

func (*GrpcUI) Start

func (m *GrpcUI) Start() (http.Handler, error)

Jump to

Keyboard shortcuts

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