Documentation ¶
Overview ¶
Package resources allows for interacting with custom REST extensions
Index ¶
- type Service
- func (s *Service) Delete(resourceName string, parameters map[string]string, ...) error
- func (s *Service) Get(resourceName string, parameters map[string]string, ...) error
- func (s *Service) Post(resourceName string, parameters map[string]string, requestBody handle.Handle, ...) error
- func (s *Service) Put(resourceName string, parameters map[string]string, requestBody handle.Handle, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is used for the resources service
func NewService ¶
NewService returns a new resource.Service
func (*Service) Delete ¶
func (s *Service) Delete(resourceName string, parameters map[string]string, response handle.ResponseHandle) error
Delete Call DELETE against resource
func (*Service) Get ¶
func (s *Service) Get(resourceName string, parameters map[string]string, response handle.ResponseHandle) error
Get Call GET against resource
Click to show internal directories.
Click to hide internal directories.