adapter

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

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

func NewDefault

func NewDefault() *Default

func (*Default) Listen

func (d *Default) Listen(addr string)

func (*Default) Register

func (d *Default) Register(svc framework.TwirpServiceBuilder)

type Fiber

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

func NewFiber

func NewFiber() *Fiber

func (*Fiber) Listen

func (f *Fiber) Listen(addr string)

func (*Fiber) Register

func (f *Fiber) Register(svc framework.TwirpServiceBuilder)

func (*Fiber) RegisterMiddlewares

func (f *Fiber) RegisterMiddlewares(mw ...interface{})

type Gin

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

func NewGin

func NewGin() *Gin

func (*Gin) Listen

func (g *Gin) Listen(addr string)

func (*Gin) Register

func (g *Gin) Register(svc framework.TwirpServiceBuilder)

func (*Gin) RegisterMiddlewares

func (g *Gin) RegisterMiddlewares(mw ...gin.HandlerFunc)

type Gochi

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

func NewGochi

func NewGochi() *Gochi

func (*Gochi) Listen

func (gc *Gochi) Listen(addr string)

func (*Gochi) Register

func (gc *Gochi) Register(svc framework.TwirpServiceBuilder)

func (*Gochi) RegisterMiddlewares

func (gc *Gochi) RegisterMiddlewares(mw ...func(h http.Handler) http.Handler)

type Gorilla

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

func NewGorilla

func NewGorilla() *Gorilla

func (*Gorilla) Listen

func (g *Gorilla) Listen(addr string)

func (*Gorilla) Register

func (g *Gorilla) Register(svc framework.TwirpServiceBuilder)

Jump to

Keyboard shortcuts

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