main_sub

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 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 ClientKind

type ClientKind string
const (
	CloudEvents ClientKind = "cloudEvents"
	GRPC        ClientKind = "gRPC"
	Http        ClientKind = "http"
	LongPolling ClientKind = "longPolling"
	Socket      ClientKind = "socket"
)

type Main

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

func (*Main) RunWithKlog

func (this *Main) RunWithKlog(clientKind ClientKind, job func() error) error

func (*Main) RunWithSlog

func (this *Main) RunWithSlog(clientKind ClientKind, job func(*slog.Log) error) error

Jump to

Keyboard shortcuts

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