refactor: server.WithPprof 名称修改为 server.WithPProf
This commit is contained in:
parent
8f4a712b4d
commit
50ab92ef67
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue