Documentation ¶
Index ¶
- Variables
- func Handle_AWS_API_GW_Request(request events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error)
- func Handle_TUK_HTTP_Request(rsp http.ResponseWriter, req *http.Request)
- func InitDatabase(mysqlFile string)
- func InitTempFiles() error
- func InitTuki() error
- func PersistServiceConfigs()
- func PersistTemplates()
- func PersistXDWConfigs()
- func SetEventServiceState() error
- func TukEventServer()
- type EventServices
- type ServiceState
- type TukEvent
- func (i *TukEvent) AdminSpaWidget() []byte
- func (i *TukEvent) CompletionTime() string
- func (i *TukEvent) ConfigWidget() []byte
- func (i *TukEvent) DashboardWidget() []byte
- func (i *TukEvent) ElapsedTime() string
- func (i *TukEvent) GetMappedId(lid string) string
- func (i *TukEvent) GetWidget() []byte
- func (i *TukEvent) HandleBrokerNotification() []byte
- func (i *TukEvent) IsBrokerExpression(expression string) bool
- func (i *TukEvent) IsTaskOverdue(taskid string) bool
- func (i *TukEvent) PatientWidget() []byte
- func (i *TukEvent) PatientXDWs() []byte
- func (i *TukEvent) PrettyTime(time string) string
- func (i *TukEvent) SubscriptionsWidget() []byte
- func (i *TukEvent) TaskCompleteByTimeString(taskid string) string
- func (i *TukEvent) TaskDuration(taskid string) string
- func (i *TukEvent) TaskNotes(task string) string
- func (i *TukEvent) TimelineWidget() []byte
- func (i *TukEvent) UserSpaWidget() []byte
- func (i *TukEvent) WorkflowTasksWidget() []byte
- func (i *TukEvent) WorkflowTimeRemaining() string
- func (i *TukEvent) XDWDocumentWidget() []byte
- func (i *TukEvent) XDWDocumentsWidget() []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Basepath = os.Getenv(tukcnst.ENV_TUK_CONFIG) LogFile *os.File Regoid = "" Services = EventServices{} DebugMode = true )
Functions ¶
func Handle_AWS_API_GW_Request ¶
func Handle_AWS_API_GW_Request(request events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error)
func Handle_TUK_HTTP_Request ¶
func Handle_TUK_HTTP_Request(rsp http.ResponseWriter, req *http.Request)
func InitDatabase ¶
func InitDatabase(mysqlFile string)
func InitTempFiles ¶
func InitTempFiles() error
func PersistServiceConfigs ¶
func PersistServiceConfigs()
func PersistTemplates ¶
func PersistTemplates()
func PersistXDWConfigs ¶
func PersistXDWConfigs()
func SetEventServiceState ¶
func SetEventServiceState() error
func TukEventServer ¶
func TukEventServer()
Types ¶
type EventServices ¶
type EventServices struct { XDSRepService ServiceState XDSRegService ServiceState ODDService ServiceState PDQv3Service ServiceState PIXmService ServiceState LoginService ServiceState STSService ServiceState SAMLService ServiceState EventService ServiceState BrokerService ServiceState LogService ServiceState DBService ServiceState ServiceConfigs []string WorkflowXDSConfigs []tukxdw.XDSDocumentMeta ActivePathways []string HTMLWidgets []string XMLMessages []string HTMLTemplates *template.Template XMLTemplates *template.Template WorkflowDefinitions []string WorkflowXDWMeta []string }
func (*EventServices) SetEventServicesStates ¶
func (i *EventServices) SetEventServicesStates() error
type ServiceState ¶
type ServiceState struct { Id string `json:"id"` Desc string `json:"desc"` Type string `json:"type"` Proto string `json:"proto"` Vers string `json:"vers"` Enabled bool `json:"enabled"` Paused bool `json:"paused"` Debugmode bool `json:"debugmode"` Scheme string `json:"scheme"` Host string `json:"host"` Port int `json:"port"` Url string `json:"url"` WSE string `json:"wse"` DemoMode bool `json:"demomode"` XDSDomain string `json:"xdsdomain"` User string `json:"user"` Password string `json:"password"` Org string `json:"org"` Role string `json:"role"` POU string `json:"pou"` ClaimDialect string `json:"claimdialect"` ClaimValue string `json:"claimvalue"` RequestTmplt string `json:"requesttmplt"` DataBase string `json:"db"` TmpltsPath string `json:"tmpltspath"` HTMLTmplts string `json:"htmltmplts"` XMLTmplts string `json:"xmltmplts"` BaseURLPath string `json:"baseurlpath"` EventUrl string `json:"eventurl"` FilesUrl string `json:"filesurl"` XDWConfigsPath string `json:"xdwconfigspath"` FilesPath string `json:"filespath"` Secret string `json:"secret"` Token string `json:"token"` CertPath string `json:"certpath"` Certs string `json:"certs"` Keys string `json:"keys"` LogSrvc string `json:"logsrvc"` DBSrvc string `json:"dbsrvc"` BrokerSrvc string `json:"brokersrvc"` STSSrvc string `json:"stssrvc"` SAMLSrvc string `json:"samlsrvc"` LoginSrvc string `json:"loginsrvc"` PDQv3Srvc string `json:"pdqv3srvc"` PIXmSrvc string `json:"pixmsrvc"` ODDSrvc string `json:"oddsrvc"` XDSRegSrvc string `json:"xdsregsrvc"` XDSRepSrvc string `json:"xdsrepsrvc"` CacheTimeout int `json:"cachetimeout"` CacheEnabled bool `json:"cacheenabled"` PatientSrvc string `json:"patientsrvc"` TokenSrvc string `json:"tokensrvc"` ContextTimeout int `json:"contexttimeout"` }
type TukEvent ¶
type TukEvent struct { Act string Task string TaskID int Status string Op string Vers int NHSId string REGId string REGOid string PID string PIDOrg string PIDOid string GivenName string FamilyName string DOB string ZIP string Gender string PatientIndependant bool Notes string Expression string Topic string Pathway string Audience string Include string BrokerRef string RowId int64 StateID string SAML string B64SAML string ReturnJSON bool ReturnXML bool ReturnCode int ContentType string XDWDocuments []tukdbint.Workflow Dashboard tukxdw.Dashboard DBSubscriptions tukdbint.Subscriptions DBEvents []tukdbint.Event DBEvent tukdbint.Event DBEventAcks tukdbint.EventAcks PDQv3Response tukpdq.PDQv3Response PatientXMLStr string PIXmResponse tukpdq.PIXmResponse HttpRequest *http.Request HttpResponse http.ResponseWriter HTTPMethod string Body string DocRef string RepositoryUniqueId string Base64EncodedFile string EventServices EventServices XDWWorkflowDocument tukxdw.XDWWorkflowDocument XDSDocumentMeta tukxdw.XDSDocumentMeta WorkflowDefinition tukxdw.WorkflowDefinition ConfigStr string }
func (*TukEvent) AdminSpaWidget ¶
func (*TukEvent) CompletionTime ¶
func (*TukEvent) ConfigWidget ¶
func (*TukEvent) DashboardWidget ¶
func (*TukEvent) ElapsedTime ¶
func (*TukEvent) GetMappedId ¶
func (*TukEvent) HandleBrokerNotification ¶
func (*TukEvent) IsBrokerExpression ¶
func (*TukEvent) IsTaskOverdue ¶
func (*TukEvent) PatientWidget ¶
func (*TukEvent) PatientXDWs ¶
func (*TukEvent) PrettyTime ¶
func (*TukEvent) SubscriptionsWidget ¶
func (*TukEvent) TaskCompleteByTimeString ¶
func (*TukEvent) TaskDuration ¶
func (*TukEvent) TimelineWidget ¶
func (*TukEvent) UserSpaWidget ¶
func (*TukEvent) WorkflowTasksWidget ¶
func (*TukEvent) WorkflowTimeRemaining ¶
func (*TukEvent) XDWDocumentWidget ¶
func (*TukEvent) XDWDocumentsWidget ¶
Click to show internal directories.
Click to hide internal directories.