mod

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(ctx *sdk.Context)

Types

type A

type A struct{}

func NewA

func NewA() *A

@Inject(name="tests.A", proxy="github.com/bincooo/sdk/tests.Hi")

func (A) Echo

func (A) Echo()

type B

type B struct {
	*A
}

@Router(path="/B")

func NewB

func NewB(_, a1 *A) (B, error)

@Inject(lazy="false", alias="tests.B", qualifier="[0~1]:tests.A")

func (*B) Echo

func (b *B) Echo(gtx *gin.Context)

@Router(method="POST", path="echo")

func (*B) Find

func (b *B) Find(gtx *gin.Context)

@Router(path="/find")

type Hi

type Hi interface {
	Echo(i int) error
	Hi()
}

@Proxy(target="Test")

Jump to

Keyboard shortcuts

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