Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(storage *adapter.ObjectStorage) http.Handler
NewServiceServer creates a new service server and initiates the routes.
Types ¶
type ServiceServer ¶
type ServiceServer struct {
// contains filtered or unexported fields
}
ServiceServer executes the users requests.
func (*ServiceServer) Package ¶
func (s *ServiceServer) Package(w http.ResponseWriter, r *http.Request)
func (*ServiceServer) ServeHTTP ¶
func (s *ServiceServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.