Documentation ¶
Index ¶
- func NewTemplateWriter() *_ProxyWriterBuffer
- type IRaftSender
- type OpenApiProxy
- func (p *OpenApiProxy) ExcludeHandle(method, path string, handler httprouter.Handle)
- func (p *OpenApiProxy) ExcludeHandleFunc(method, path string, handler http.HandlerFunc)
- func (p *OpenApiProxy) ExcludeHandler(method, path string, handler http.Handler)
- func (p *OpenApiProxy) ExcludeHandlers(path string, handler http.Handler)
- func (p *OpenApiProxy) ExcludeHandles(path string, handler httprouter.Handle)
- func (p *OpenApiProxy) ExcludeHandlesFunc(path string, handler http.HandlerFunc)
- func (p *OpenApiProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTemplateWriter ¶
func NewTemplateWriter() *_ProxyWriterBuffer
Types ¶
type IRaftSender ¶
type OpenApiProxy ¶
type OpenApiProxy struct {
// contains filtered or unexported fields
}
func NewOpenApiProxy ¶
func NewOpenApiProxy(sender IRaftSender, leaderHandler http.Handler) *OpenApiProxy
func (*OpenApiProxy) ExcludeHandle ¶
func (p *OpenApiProxy) ExcludeHandle(method, path string, handler httprouter.Handle)
func (*OpenApiProxy) ExcludeHandleFunc ¶
func (p *OpenApiProxy) ExcludeHandleFunc(method, path string, handler http.HandlerFunc)
func (*OpenApiProxy) ExcludeHandler ¶
func (p *OpenApiProxy) ExcludeHandler(method, path string, handler http.Handler)
func (*OpenApiProxy) ExcludeHandlers ¶
func (p *OpenApiProxy) ExcludeHandlers(path string, handler http.Handler)
func (*OpenApiProxy) ExcludeHandles ¶
func (p *OpenApiProxy) ExcludeHandles(path string, handler httprouter.Handle)
func (*OpenApiProxy) ExcludeHandlesFunc ¶
func (p *OpenApiProxy) ExcludeHandlesFunc(path string, handler http.HandlerFunc)
func (*OpenApiProxy) ServeHTTP ¶
func (p *OpenApiProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.