mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 07:08:45 +05:00
Refactor RegisterHTTPFunc
This commit is contained in:
committed by
Dan Christian Bogos
parent
40b93a5b14
commit
cb2585837a
@@ -31,7 +31,7 @@ import (
|
||||
type Server interface {
|
||||
RpcRegister(rcvr interface{})
|
||||
RpcRegisterName(name string, rcvr interface{})
|
||||
RegisterHttpFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
|
||||
RegisterHTTPFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
|
||||
RegisterHttpHandler(pattern string, handler http.Handler)
|
||||
BiRPCRegisterName(method string, handlerFunc interface{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user