helper

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Print the version details",
	Run: func(cmd *cobra.Command, args []string) {
		ver := version.Get()
		fmt.Printf("%+v\n", ver)
	},
}

Functions

This section is empty.

Types

type Gateway

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

func (*Gateway) Start

func (g *Gateway) Start(ctx context.Context, configFilePath string) error

type Handler

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

func (Handler) Start

func (h Handler) Start(ctx context.Context, configFilePath string) error

type Server

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

func (*Server) Start

func (s *Server) Start(ctx context.Context, configFilePath string) error

type ShutdownHook

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

func NewShutdownHook

func NewShutdownHook(logger *zap.Logger, callbackFunc func(), bus busTY.Plugin, handleEvent bool) *ShutdownHook

func (*ShutdownHook) Start

func (sh *ShutdownHook) Start()

Jump to

Keyboard shortcuts

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