Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChargerS ¶
type ChargerS struct {
// contains filtered or unexported fields
}
ChargerS is performing charging
func NewChargerService ¶
func NewChargerService(dm *engine.DataManager, filterS *engine.FilterS, cfg *config.CGRConfig, connMgr *engine.ConnManager) *ChargerS
func (*ChargerS) V1GetChargersForEvent ¶
func (cS *ChargerS) V1GetChargersForEvent(ctx *context.Context, args *utils.CGREvent, rply *[]*utils.ChargerProfile) (err error)
V1GetChargersForEvent exposes the list of ordered matching ChargingProfiles for an event
func (*ChargerS) V1ProcessEvent ¶
func (cS *ChargerS) V1ProcessEvent(ctx *context.Context, args *utils.CGREvent, reply *[]*ChrgSProcessEventReply) (err error)
V1ProcessEvent will process the event received via API and return list of events forked
type ChrgSProcessEventReply ¶
type ChrgSProcessEventReply struct {
ChargerSProfile string
AlteredFields []*attributes.FieldsAltered
CGREvent *utils.CGREvent
}
ChrgSProcessEventReply is the reply to processEvent
Click to show internal directories.
Click to hide internal directories.