component

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

func New

func New(ctx context.Context, sender Sender, opts ...Option) *Component

type Option

type Option func(*Component)

func WithRouter

func WithRouter(group *gin.RouterGroup) Option

type Sender

type Sender interface {
	Scaffold(context.Context, event.Data) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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