AllMethodNames로 이름 변경

This commit is contained in:
2024-07-21 23:09:35 +09:00
parent 8cda1aa4c7
commit 3e46293efc

View File

@ -826,7 +826,7 @@ func (hc *HttpApiBroker) AddHandler(receiver HttpApiHandler) {
} }
} }
func (hc *HttpApiBroker) AllMethods() (out []string) { func (hc *HttpApiBroker) AllMethodNames() (out []string) {
out = make([]string, 0, len(hc.methods)) out = make([]string, 0, len(hc.methods))
for name := range hc.methods { for name := range hc.methods {
out = append(out, name) out = append(out, name)