Versions in this module Expand all Collapse all v1 v1.0.1 Dec 14, 2020 Changes in this version + const DefaultMaxPDUSize + func RunProviderForConn(conn net.Conn, params ServiceProviderParams) + func SetProviderFaultInjector(f FaultInjector) + func SetUserFaultInjector(f FaultInjector) + type CEchoCallback func(conn ConnectionState) dimse.Status + type CFindCallback func(conn ConnectionState, transferSyntaxUID string, sopClassUID string, ...) + type CFindResult struct + Elements []*dicom.Element + Err error + type CMoveCallback func(conn ConnectionState, transferSyntaxUID string, sopClassUID string, ...) + type CMoveResult struct + DataSet *dicom.DataSet + Err error + Path string + Remaining int + type CStoreCallback func(conn ConnectionState, transferSyntaxUID string, sopClassUID string, ...) dimse.Status + type ConnectionState struct + TLS tls.ConnectionState + type FaultInjector interface + func NewFuzzFaultInjector(fuzz []byte) FaultInjector + type QRLevel int + const QRLevelPatient + const QRLevelSeries + const QRLevelStudy + func (i QRLevel) String() string + type ServiceProvider struct + func NewServiceProvider(params ServiceProviderParams, port string) (*ServiceProvider, error) + func (sp *ServiceProvider) ListenAddr() net.Addr + func (sp *ServiceProvider) Run() + type ServiceProviderParams struct + AETitle string + CEcho CEchoCallback + CFind CFindCallback + CGet CMoveCallback + CMove CMoveCallback + CStore CStoreCallback + RemoteAEs map[string]string + TLSConfig *tls.Config + type ServiceUser struct + func NewServiceUser(params ServiceUserParams) (*ServiceUser, error) + func (su *ServiceUser) CEcho() error + func (su *ServiceUser) CFind(qrLevel QRLevel, filter []*dicom.Element) chan CFindResult + func (su *ServiceUser) CGet(qrLevel QRLevel, filter []*dicom.Element, ...) error + func (su *ServiceUser) CStore(ds *dicom.DataSet) error + func (su *ServiceUser) Connect(serverAddr string) + func (su *ServiceUser) Release() + func (su *ServiceUser) SetConn(conn net.Conn) + type ServiceUserParams struct + CalledAETitle string + CallingAETitle string + SOPClasses []string + TransferSyntaxes []string