Documentation
¶
Index ¶
- func Api(host string, port int, baseUrl string, ignoreCert bool) api
- type Alert
- type AlertAction
- type AlertActionGroup
- type AlertPartialChannel
- type AlertTrigger
- type Alerts
- type BackgroundColor
- type ChannelDependencies
- type ChannelDependency
- type ChannelTag
- type ChannelTags
- type CharacterSets
- type ConfigurationMap
- type ConfigurationMapEntry
- type DatabaseDriverInfo
- type DatabaseDrivers
- type EncryptionSettings
- type GlobalScript
- type GlobalScripts
- func (gs *GlobalScripts) GetDeployScript() string
- func (gs *GlobalScripts) GetPostprocessorScript() string
- func (gs *GlobalScripts) GetPreprocessorScript() string
- func (gs *GlobalScripts) GetUndeployScript() string
- func (gs *GlobalScripts) SetDeployScript(scriptCode string)
- func (gs *GlobalScripts) SetPostprocessorScript(scriptCode string)
- func (gs *GlobalScripts) SetPreprocessorScript(scriptCode string)
- func (gs *GlobalScripts) SetUndeployScript(scriptCode string)
- type MetaDataColumn
- type Metadata
- type MetadataEntry
- type MetadataList
- type MetadataPruningSettings
- type MirthApiConfig
- type MirthApiResponse
- type MirthLoginStatus
- type MirthSession
- type MirthSystemInfo
- type MirthSystemStats
- type MirthTime
- type MirthUser
- type MirthUsers
- type PasswordRequirements
- type ProtocolOrCipherEntry
- type ProtocolsAndCiphers
- func (pc *ProtocolsAndCiphers) GetEnabledCipherSuites() []string
- func (pc *ProtocolsAndCiphers) GetEnabledClientProtocols() []string
- func (pc *ProtocolsAndCiphers) GetEnabledServerProtocols() []string
- func (pc *ProtocolsAndCiphers) GetSupportedCipherSuites() []string
- func (pc *ProtocolsAndCiphers) GetSupportedProtocols() []string
- type QueryParams
- type Resource
- type Resources
- type ServerSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alert ¶
type Alert struct {
XMLName struct{} `xml:"alertModel"`
Id string `xml:"id"`
Name string `xml:"name"`
Enabled bool `xml:"enabled"`
Trigger AlertTrigger `xml:"trigger"`
ActionGroup AlertActionGroup `xml:"actionGroups>alertActionGroup"`
}
type AlertAction ¶
type AlertActionGroup ¶
type AlertActionGroup struct {
Subject string `xml:"subject"`
Template string `xml:"template"`
Actions []AlertAction `xml:"actions>alertAction"`
}
type AlertPartialChannel ¶
type AlertPartialChannel struct {
XMLName struct{} `xml:"entry"`
ChannelId string `xml:"string"`
EnabledConnectors []int `xml:"alertConnectors>enabledConnectors>int"`
NewDestinationEnabled *bool `xml:"alertConnectors>enabledConnectors>null"`
DisabledConnectors []int `xml:"alertConnectors>disabledConnectors>int"`
NewDestinationDisabled *bool `xml:"alertConnectors>disabledConnectors>null"`
}
type AlertTrigger ¶
type AlertTrigger struct {
XMLName struct{} `xml:"trigger"`
Class string `xml:"class,attr"`
NewChannelSource bool `xml:"alertChannels>newChannelSource"`
NewChannelDestination bool `xml:"alertChannels>newChannelDestination"`
EnabledChannels []string `xml:"alertChannels>enabledChannels>string"`
DisabledChannels []string `xml:"alertChannels>disabledChannels>string"`
PartialChannels []AlertPartialChannel `xml:"alertChannels>partialChannels>entry"`
ErrorEventTypes []string `xml:"errorEventTypes>errorEventType"`
Regex string `xml:"regex"`
}
type Alerts ¶
type Alerts struct {
XMLName struct{} `xml:"list"`
Alerts []Alert `xml:"alertModel"`
}
type BackgroundColor ¶
type ChannelDependencies ¶
type ChannelDependencies struct {
XMLName struct{} `xml:"set"`
Dependencies []ChannelDependency `xml:"channelDependency"`
}
type ChannelDependency ¶
type ChannelTag ¶
type ChannelTag struct {
XMLName struct{} `xml:"channelTag"`
Id string `xml:"id"`
Name string `xml:"name"`
Channels []string `xml:"channelIds>string"`
BackgroundColor BackgroundColor `xml:"backgroundColor"`
}
type ChannelTags ¶
type ChannelTags struct {
XMLName struct{} `xml:"set"`
Tags []ChannelTag `xml:"channelTag"`
}
type CharacterSets ¶
type CharacterSets struct {
XMLName struct{} `xml:"list"`
CharacterSet []string `xml:"string"`
}
type ConfigurationMap ¶
type ConfigurationMap struct {
XMLName struct{} `xml:"map"`
Entries []ConfigurationMapEntry `xml:"entry"`
}
type ConfigurationMapEntry ¶
type DatabaseDriverInfo ¶
type DatabaseDriverInfo struct {
XMLName struct{} `xml:"driverInfo"`
ClassName string `xml:"className,omitempty"`
Name string `xml:"name,omitempty"`
Template string `xml:"template,omitempty"`
SelectLimit string `xml:"selectLimit,omitempty"`
AlternativeClassNames []string `xml:"alternativeClassNames>string"`
}
type DatabaseDrivers ¶
type DatabaseDrivers struct {
XMLName struct{} `xml:"list"`
Drivers []DatabaseDriverInfo `xml:"driverInfo"`
}
type EncryptionSettings ¶
type EncryptionSettings struct {
XMLName struct{} `xml:"com.mirth.connect.model.EncryptionSettings"`
EncryptExport bool `xml:"encryptExport,omitempty"`
EncryptProperties bool `xml:"encryptProperties,omitempty"`
EncryptionAlgorithm string `xml:"encryptionAlgorithm,omitempty"`
EncryptionKeyLength int `xml:"encryptionKeyLength,omitempty"`
DigestAlgorithm string `xml:"digestAlgorithm,omitempty"`
SecurityProvider string `xml:"securityProvider,omitempty"`
SecretKey string `xml:"secretKey,omitempty"`
}
type GlobalScript ¶
type GlobalScript struct {
XMLName struct{} `xml:"entry"`
Contents []string `xml:"string"`
}
type GlobalScripts ¶
type GlobalScripts struct {
XMLName struct{} `xml:"map"`
Scripts []GlobalScript `xml:"entry"`
}
func (*GlobalScripts) GetDeployScript ¶
func (gs *GlobalScripts) GetDeployScript() string
func (*GlobalScripts) GetPostprocessorScript ¶
func (gs *GlobalScripts) GetPostprocessorScript() string
func (*GlobalScripts) GetPreprocessorScript ¶
func (gs *GlobalScripts) GetPreprocessorScript() string
func (*GlobalScripts) GetUndeployScript ¶
func (gs *GlobalScripts) GetUndeployScript() string
func (*GlobalScripts) SetDeployScript ¶
func (gs *GlobalScripts) SetDeployScript(scriptCode string)
func (*GlobalScripts) SetPostprocessorScript ¶
func (gs *GlobalScripts) SetPostprocessorScript(scriptCode string)
func (*GlobalScripts) SetPreprocessorScript ¶
func (gs *GlobalScripts) SetPreprocessorScript(scriptCode string)
func (*GlobalScripts) SetUndeployScript ¶
func (gs *GlobalScripts) SetUndeployScript(scriptCode string)
type MetaDataColumn ¶
type Metadata ¶
type Metadata struct {
XMLName struct{} `xml:"com.mirth.connect.model.ChannelMetadata"`
Enabled bool `xml:"enabled"`
LastModified MirthTime `xml:"lastModified"`
PruningSettings MetadataPruningSettings `xml:"pruningSettings"`
}
type MetadataEntry ¶
type MetadataList ¶
type MetadataList struct {
XMLName struct{} `xml:"map"`
List []MetadataEntry `xml:"entry"`
}
type MetadataPruningSettings ¶
type MirthApiConfig ¶
type MirthApiResponse ¶
type MirthLoginStatus ¶
type MirthSession ¶
type MirthSystemInfo ¶
type MirthSystemStats ¶
type MirthSystemStats struct {
TimeStamp MirthTime `xml:"timestamp"`
CpuUsagePercentage float32 `xml:"cpuUsagePct"`
AllocatedMemoryBytes int `xml:"allocatedMemoryBytes"`
FreeMemoryBytes int `xml:"freeMemoryBytes"`
MaxMemoryBytes int `xml:"maxMemoryBytes"`
DiskFreeBytes int `xml:"diskFreeBytes"`
DiskTotalBytes int `xml:"diskTotalBytes"`
}
type MirthUser ¶
type MirthUser struct {
Id string `xml:"id"`
Username string `xml:"username"`
Email string `xml:"email"`
FirstName string `xml:"firstName"`
LastName string `xml:"lastName"`
Organization string `xml:"organization"`
Description string `xml:"description"`
PhoneNumber string `xml:"phoneNumber"`
Industry string `xml:"industry"`
LastLogin MirthTime `xml:"lastLogin"`
StrikeCount int `xml:"strikeCount"`
GracePeriodStart MirthTime `xml:"gracePeriodStart"`
LastStrike MirthTime `xml:"lastStrikeTime"`
}
type MirthUsers ¶
type MirthUsers struct {
Users []MirthUser `xml:"user"`
}
type PasswordRequirements ¶
type PasswordRequirements struct {
XMLName struct{} `xml:"passwordRequirements"`
MinimumLength int `xml:"minLength"`
MinimumUpper int `xml:"minUpper"`
MinimumLower int `xml:"minLower"`
MinimumNumeric int `xml:"minNumeric"`
MinimumSpecial int `xml:"minSpecial"`
RetryLimit int `xml:"retryLimit"`
LockoutPeriod int `xml:"lockoutPeriod"`
Expiration int `xml:"expiration"`
GracePeriod int `xml:"gracePeriod"`
ReusePeriod int `xml:"reusePeriod"`
ReuseLimit int `xml:"reuseLimit"`
}
type ProtocolOrCipherEntry ¶
type ProtocolsAndCiphers ¶
type ProtocolsAndCiphers struct {
XMLName struct{} `xml:"map"`
Entries []ProtocolOrCipherEntry `xml:"entry"`
}
func (*ProtocolsAndCiphers) GetEnabledCipherSuites ¶
func (pc *ProtocolsAndCiphers) GetEnabledCipherSuites() []string
func (*ProtocolsAndCiphers) GetEnabledClientProtocols ¶
func (pc *ProtocolsAndCiphers) GetEnabledClientProtocols() []string
func (*ProtocolsAndCiphers) GetEnabledServerProtocols ¶
func (pc *ProtocolsAndCiphers) GetEnabledServerProtocols() []string
func (*ProtocolsAndCiphers) GetSupportedCipherSuites ¶
func (pc *ProtocolsAndCiphers) GetSupportedCipherSuites() []string
func (*ProtocolsAndCiphers) GetSupportedProtocols ¶
func (pc *ProtocolsAndCiphers) GetSupportedProtocols() []string
type QueryParams ¶
type Resource ¶
type Resource struct {
XMLName struct{} `xml:"com.mirth.connect.plugins.directoryresource.DirectoryResourceProperties"`
PluginPointName string `xml:"pluginPointName"`
Type string `xml:"type"`
Id string `xml:"id"`
Name string `xml:"name"`
Description string `xml:"description"`
IncludeWithGlobalScripts bool `xml:"includeWithGlobalScripts"`
Directory string `xml:"directory"`
DirectoryRecursion bool `xml:"directoryRecursion"`
}
func (*Resource) DefaultPluginPointName ¶
func (*Resource) DefaultType ¶
type Resources ¶
type Resources struct {
XMLName struct{} `xml:"list"`
Entries []Resource `xml:"com.mirth.connect.plugins.directoryresource.DirectoryResourceProperties"`
}
type ServerSettings ¶
type ServerSettings struct {
XMLName struct{} `xml:"serverSettings"`
EnvironmentName string `xml:"environmentName,omitempty"`
ServerName string `xml:"serverName,omitempty"`
ClearGlobalMap bool `xml:"clearGlobalMap,omitempty"`
QueueBufferSize int `xml:"queueBufferSize,omitempty"`
SmtpHost string `xml:"smtpHost,omitempty"`
SmtpPort string `xml:"smtpPort,omitempty"`
SmtpTimeout string `xml:"smtpTimeout,omitempty"`
SmtpFrom string `xml:"smtpFrom,omitempty"`
SmtpSecure string `xml:"smtpSecure,omitempty"`
SmtpAuth bool `xml:"smtpAuth,omitempty"`
SmtpUsername string `xml:"smtpUsername,omitempty"`
SmtpPassword string `xml:"smtpPassword,omitempty"`
DefaultBackgroundColor BackgroundColor `xml:"defaultAdministratorBackgroundColor"`
DefaultMetaDataColumns []MetaDataColumn `xml:"defaultMetaDataColumns>metaDataColumn"`
}
Click to show internal directories.
Click to hide internal directories.