Documentation
¶
Index ¶
- func DisableChannel(channelId int, channelName string, reason string)
- func Emit(channelId int, success bool)
- func EnableChannel(channelId int, channelName string)
- func MetricDisableChannel(channelId int, successRate float64)
- func ShouldDisableChannel(err *model.Error, statusCode int) bool
- func ShouldEnableChannel(err error, openAIErr *model.Error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableChannel ¶
DisableChannel disable & notify
func EnableChannel ¶
EnableChannel enable & notify
func MetricDisableChannel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.