Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BufferHTTPService ¶
type BufferHTTPService struct {
// contains filtered or unexported fields
}
func (*BufferHTTPService) GetHandler ¶
func (s *BufferHTTPService) GetHandler(w http.ResponseWriter, r *http.Request)
func (*BufferHTTPService) PutHandler ¶
func (s *BufferHTTPService) PutHandler(w http.ResponseWriter, r *http.Request)
type UploadFileResponse ¶
type UploadFileResponse struct {
Name string `json:"Name"`
Hash string `json:"Hash"`
Size string `json:"Size"`
}
func UploadToLighthouse ¶
func UploadToLighthouse(sourcePath, apiKey string) (*UploadFileResponse, error)
Click to show internal directories.
Click to hide internal directories.