api: Begin implementing an API
This commit is contained in:
parent
1a5e83be10
commit
2fac0390b1
11 changed files with 186 additions and 23 deletions
|
|
@ -187,5 +187,9 @@ func (dis *Distillery) allComponents() []initFunc {
|
|||
auto[*cron.Cron],
|
||||
auto[*home.UpdateHome],
|
||||
auto[*home.UpdateInstanceList],
|
||||
|
||||
// API
|
||||
auto[*home.API],
|
||||
auto[*news.API],
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue