Skip to content

Решение второго дз#2

Open
IvanChumakov wants to merge 1 commit into
mainfrom
task2
Open

Решение второго дз#2
IvanChumakov wants to merge 1 commit into
mainfrom
task2

Conversation

@IvanChumakov

Copy link
Copy Markdown
Owner

No description provided.

@Pircer Pircer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Есть замечания. Можно поправить.
Пока 8 из 10.

Comment thread task2/cmd/server/main.go
mux.Handle("/version", http.HandlerFunc(handlers.GetVersion))
mux.Handle("/decode", http.HandlerFunc(handlers.Decode))
mux.Handle("/hard-op", http.HandlerFunc(handlers.HardOp))
err := server.ListenAndServe()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отсутствует gracefull shutdown. Хорошо бы его добавить.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants