-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Implement Service class and related functionalities
Co-authored-by: yuzhe <[email protected]>
- Loading branch information
1 parent
9e18d7e
commit e9a7804
Showing
27 changed files
with
1,121 additions
and
101 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
[core] | ||
rule_dirs = ["rules"] | ||
rule_dirs = ["rules"] | ||
services = ['hrc.service.http'] | ||
|
||
[service.http] | ||
port = 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
|
||
core = Core() | ||
|
||
|
||
class COC7(Rule): | ||
|
||
# 规则、指令、词条,必须至少实现任意一个 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1 @@ | ||
from .LibCore import * # noqa: F403 | ||
|
||
from . import rule # noqa: F401 | ||
from . import core # noqa: F401 | ||
from . import log # noqa: F401 | ||
from . import exceptions # noqa: F401 | ||
from . import config # noqa: F401 | ||
from . import dependencies # noqa: F401 | ||
from . import event # noqa: F401 | ||
from . import perf # noqa: F401 | ||
from . import feat # noqa: F401 | ||
from . import doc # noqa: F401 | ||
from . import dev # noqa: F401 | ||
from .LibCore import * # noqa: F403 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .grps import v1 | ||
from hrc.dev.grps import v1 |
Empty file.
Oops, something went wrong.