Documentation ¶
Index ¶
- func NewServer(serverconf conf.Config, flags *flag.FlagSet, cnf srv.ConfigLoader) (*srv.IpPort, srv.Server, srv.LowLevelLogger, error)
- type ProxyServer
- func (server *ProxyServer) AccountDeleteHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) AccountGetHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) AccountHeadHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) AccountPostHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) AccountPutHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) Background(flags *flag.FlagSet) chan struct{}
- func (server *ProxyServer) ContainerDeleteHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ContainerGetHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ContainerHeadHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ContainerPostHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ContainerPutHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) Finalize()
- func (server *ProxyServer) GetHandler(config conf.Config, metricsPrefix string) http.Handler
- func (server *ProxyServer) ObjectDeleteHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ObjectGetHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ObjectHeadHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ObjectPostHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) ObjectPutHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) OptionsHandler(writer http.ResponseWriter, request *http.Request)
- func (server *ProxyServer) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
func (*ProxyServer) AccountDeleteHandler ¶
func (server *ProxyServer) AccountDeleteHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) AccountGetHandler ¶
func (server *ProxyServer) AccountGetHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) AccountHeadHandler ¶
func (server *ProxyServer) AccountHeadHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) AccountPostHandler ¶
func (server *ProxyServer) AccountPostHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) AccountPutHandler ¶
func (server *ProxyServer) AccountPutHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) Background ¶ added in v0.0.2
func (server *ProxyServer) Background(flags *flag.FlagSet) chan struct{}
func (*ProxyServer) ContainerDeleteHandler ¶
func (server *ProxyServer) ContainerDeleteHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ContainerGetHandler ¶
func (server *ProxyServer) ContainerGetHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ContainerHeadHandler ¶
func (server *ProxyServer) ContainerHeadHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ContainerPostHandler ¶
func (server *ProxyServer) ContainerPostHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ContainerPutHandler ¶
func (server *ProxyServer) ContainerPutHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) Finalize ¶
func (server *ProxyServer) Finalize()
func (*ProxyServer) GetHandler ¶
func (*ProxyServer) ObjectDeleteHandler ¶
func (server *ProxyServer) ObjectDeleteHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ObjectGetHandler ¶
func (server *ProxyServer) ObjectGetHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ObjectHeadHandler ¶
func (server *ProxyServer) ObjectHeadHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ObjectPostHandler ¶
func (server *ProxyServer) ObjectPostHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) ObjectPutHandler ¶
func (server *ProxyServer) ObjectPutHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) OptionsHandler ¶
func (server *ProxyServer) OptionsHandler(writer http.ResponseWriter, request *http.Request)
func (*ProxyServer) Type ¶ added in v0.0.2
func (server *ProxyServer) Type() string
Click to show internal directories.
Click to hide internal directories.