refactor: server.WithPprof 名称修改为 server.WithPProf

This commit is contained in:
kercylan98 2023-07-10 10:00:15 +08:00
parent 8f4a712b4d
commit 50ab92ef67
1 changed files with 2 additions and 2 deletions

View File

@ -172,8 +172,8 @@ func WithMessageBufferSize(size int) Option {
}
}
// WithPprof 通过性能分析工具PProf创建服务器
func WithPprof(pattern ...string) Option {
// WithPProf 通过性能分析工具PProf创建服务器
func WithPProf(pattern ...string) Option {
return func(srv *Server) {
if srv.network != NetworkHttp {
return