Skip to content

Commit dcd6553

Browse files
committed
update readme
1 parent edb7d82 commit dcd6553

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,8 @@ Feel free to clone a sample project on [Sample Project](https://github.com/Taymi
260260

261261
int is_service_on = 0;
262262

263-
void ngx_link_func_init(ngx_link_func_ctx_t* ctx) {
264-
ngx_link_func_log(info, ctx, "%s", "Starting The Application");
265-
263+
void ngx_link_func_init_cycle(ngx_link_func_cycle_t* cycle) {
264+
ngx_link_func_cyc_log(info, cycle, "%s", "starting application");
266265

267266
is_service_on=1;
268267
}
@@ -337,8 +336,8 @@ void my_app_simple_get_no_resp(ngx_link_func_ctx_t *ctx) {
337336

338337
}
339338

340-
void ngx_link_func_exit(ngx_link_func_ctx_t* ctx) {
341-
ngx_link_func_log(info, ctx, "%s\n", "Shutting down The Application");
339+
void ngx_link_func_exit_cycle(ngx_link_func_cycle_t* cyc) {
340+
ngx_link_func_cyc_log(info, cyc, "%s\n", "Shutting down/reloading the Application");
342341

343342
is_service_on = 0;
344343
}

0 commit comments

Comments
 (0)