service

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChfApp

type ChfApp struct {
	// contains filtered or unexported fields
}
var CHF *ChfApp

func NewApp

func NewApp(ctx context.Context, cfg *factory.Config, tlsKeyLogPath string) (*ChfApp, error)

func (*ChfApp) CallServerStop added in v1.0.2

func (a *ChfApp) CallServerStop()

func (*ChfApp) CancelContext added in v1.0.2

func (a *ChfApp) CancelContext() context.Context

func (*ChfApp) Config added in v1.0.2

func (a *ChfApp) Config() *factory.Config

func (*ChfApp) Consumer added in v1.0.2

func (a *ChfApp) Consumer() *consumer.Consumer

func (*ChfApp) Context added in v1.0.2

func (a *ChfApp) Context() *chf_context.CHFContext

func (*ChfApp) Processor added in v1.0.2

func (a *ChfApp) Processor() *processor.Processor

func (*ChfApp) SetLogEnable

func (c *ChfApp) SetLogEnable(enable bool)

func (*ChfApp) SetLogLevel

func (c *ChfApp) SetLogLevel(level string)

func (*ChfApp) SetReportCaller

func (c *ChfApp) SetReportCaller(reportCaller bool)

func (*ChfApp) Start

func (a *ChfApp) Start()

func (*ChfApp) Terminate

func (c *ChfApp) Terminate()

func (*ChfApp) WaitRoutineStopped added in v1.0.2

func (a *ChfApp) WaitRoutineStopped()

Jump to

Keyboard shortcuts

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