passthrough

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PassThrough

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

PassThrough is a code generator that injects no middleware and acts a simple fall through call to the delegate

func NewPassThrough

func NewPassThrough(method *method.Method, structName string, structTypeArgs []jen.Code, receiverName string) *PassThrough

NewPassThrough is a ctor for PassThrough

func (*PassThrough) Statement

func (p *PassThrough) Statement() (*jen.Statement, error)

Statement generates the jen.Statement for this retryable method

Jump to

Keyboard shortcuts

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