Documentation
¶
Index ¶
- type BsfApp
- func (a *BsfApp) CallServerStop()
- func (a *BsfApp) CancelContext() context.Context
- func (a *BsfApp) Config() *factory.Config
- func (a *BsfApp) Consumer() *consumer.Consumer
- func (a *BsfApp) Context() *bsfContext.BSFContext
- func (a *BsfApp) Processor() *processor.Processor
- func (a *BsfApp) SetLogEnable(enable bool)
- func (a *BsfApp) SetLogLevel(level string)
- func (a *BsfApp) SetReportCaller(reportCaller bool)
- func (a *BsfApp) Start()
- func (a *BsfApp) Terminate()
- func (a *BsfApp) WaitRoutineStopped()
- type BsfAppInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BsfApp ¶
type BsfApp struct {
BsfAppInterface
// contains filtered or unexported fields
}
func (*BsfApp) CallServerStop ¶
func (a *BsfApp) CallServerStop()
func (*BsfApp) CancelContext ¶
func (*BsfApp) Context ¶
func (a *BsfApp) Context() *bsfContext.BSFContext
func (*BsfApp) SetLogEnable ¶
func (*BsfApp) SetLogLevel ¶
func (*BsfApp) SetReportCaller ¶
func (*BsfApp) WaitRoutineStopped ¶
func (a *BsfApp) WaitRoutineStopped()
type BsfAppInterface ¶
type BsfAppInterface interface {
app.App
consumer.ConsumerBsf
Consumer() *consumer.Consumer
Processor() *processor.Processor
}
var BSF BsfAppInterface
Click to show internal directories.
Click to hide internal directories.