mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 06:09:53 +05:00
Completed api_interfaces.go with missing interfaces
This commit is contained in:
committed by
Dan Christian Bogos
parent
23dfeb9633
commit
0f71856262
@@ -278,3 +278,13 @@ type ReplicatorSv1Interface interface {
|
||||
SetActionProfile(args *engine.ActionProfileWithOpts, reply *string) error
|
||||
RemoveActionProfile(args *utils.TenantIDWithOpts, reply *string) error
|
||||
}
|
||||
|
||||
type ActionSv1Interface interface {
|
||||
ScheduleActions(args *utils.ArgActionSv1ScheduleActions, rpl *string) error
|
||||
ExecuteActions(args *utils.ArgActionSv1ScheduleActions, rpl *string) error
|
||||
Ping(ign *utils.CGREventWithOpts, reply *string) error
|
||||
}
|
||||
|
||||
type AccountSv1Interface interface {
|
||||
Ping(ign *utils.CGREventWithOpts, reply *string) error
|
||||
}
|
||||
|
||||
@@ -118,3 +118,13 @@ func TestRateSv1Interface(t *testing.T) {
|
||||
_ = RateSv1Interface(NewDispatcherRateSv1(nil))
|
||||
_ = RateSv1Interface(NewRateSv1(nil))
|
||||
}
|
||||
|
||||
func TestAccountSv1Interface(t *testing.T) {
|
||||
_ = AccountSv1Interface(NewDispatcherAccountSv1(nil))
|
||||
_ = AccountSv1Interface(NewAccountSv1(nil))
|
||||
}
|
||||
|
||||
func TestActionSv1Interface(t *testing.T) {
|
||||
_ = AccountSv1Interface(NewDispatcherActionSv1(nil))
|
||||
_ = AccountSv1Interface(NewActionSv1(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user