dicomweb

package
v0.0.0-...-f007803 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string, headers map[string]string) (*http.Response, error)

func PostMultipart

func PostMultipart(url string, data *[]byte, headers map[string]string) (*http.Response, error)

func Put

func Put(url string, dcm *dicom.Dataset, headers map[string]string) error

func PutFromFile

func PutFromFile(url string, dcm_path string, headers map[string]string) error

func ReadMultipart

func ReadMultipart(resp *http.Response) ([]*dicom.Dataset, []byte, error)

func ReadMultipartToFile

func ReadMultipartToFile(resp *http.Response, folder string) ([]string, []byte, error)

func Stow

func Stow(url string, dcm_slice []*dicom.Dataset, headers map[string]string) (*http.Response, error)

func StowFromFile

func StowFromFile(url string, dcm_path_slice []string, headers map[string]string) (*http.Response, error)

func Wado

func Wado(url string, headers map[string]string) ([]*dicom.Dataset, []byte, error)

func WadoToFile

func WadoToFile(url string, headers map[string]string, folder string) ([]string, []byte, error)

func WriteMultipart

func WriteMultipart(dcm_slice []*dicom.Dataset) (*[]byte, string, error)

func WriteMultipartFromFile

func WriteMultipartFromFile(dcm_path_slice []string) (*[]byte, string, error)

Types

type RequestError

type RequestError struct {
	StatusCode int
	Err        error
}

func (*RequestError) Error

func (r *RequestError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL