Documentation ¶
Index ¶
- func New(brainAPIUserRecordHandler brainRecordHandler.RecordHandler) recordHandler.RecordHandler
- type RecordHandler
- func (r *RecordHandler) Collect(request *recordHandler.CollectRequest) (*recordHandler.CollectResponse, error)
- func (r *RecordHandler) Create(request *recordHandler.CreateRequest) (*recordHandler.CreateResponse, error)
- func (r *RecordHandler) Delete(request *recordHandler.DeleteRequest) (*recordHandler.DeleteResponse, error)
- func (r *RecordHandler) Retrieve(request *recordHandler.RetrieveRequest) (*recordHandler.RetrieveResponse, error)
- func (r *RecordHandler) Update(request *recordHandler.UpdateRequest) (*recordHandler.UpdateResponse, error)
- func (r *RecordHandler) ValidateCreateRequest(request *recordHandler.CreateRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( brainAPIUserRecordHandler brainRecordHandler.RecordHandler, ) recordHandler.RecordHandler
Types ¶
type RecordHandler ¶
type RecordHandler struct {
// contains filtered or unexported fields
}
func (*RecordHandler) Collect ¶
func (r *RecordHandler) Collect(request *recordHandler.CollectRequest) (*recordHandler.CollectResponse, error)
func (*RecordHandler) Create ¶
func (r *RecordHandler) Create(request *recordHandler.CreateRequest) (*recordHandler.CreateResponse, error)
func (*RecordHandler) Delete ¶
func (r *RecordHandler) Delete(request *recordHandler.DeleteRequest) (*recordHandler.DeleteResponse, error)
func (*RecordHandler) Retrieve ¶
func (r *RecordHandler) Retrieve(request *recordHandler.RetrieveRequest) (*recordHandler.RetrieveResponse, error)
func (*RecordHandler) Update ¶
func (r *RecordHandler) Update(request *recordHandler.UpdateRequest) (*recordHandler.UpdateResponse, error)
func (*RecordHandler) ValidateCreateRequest ¶
func (r *RecordHandler) ValidateCreateRequest(request *recordHandler.CreateRequest) error
Click to show internal directories.
Click to hide internal directories.