Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Q quickfix
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • quickfixgo
  • quickfix
  • Issues
  • #441
Closed
Open
Issue created Jun 17, 2021 by Administrator@rootContributor

Expose TimeOfDay / TimeRange structs from time_range.go

Created by: MattLicense3

Recently I've found the need to look at the FIX session's configured start / end time. Essentially we have use a shared FIX client across multiple connections with different start/end times, and we're looking to trigger an alert if we receive a logout message during the session time e.g.

func (fa *FixApplication) OnLogout() {
	if fa.inSessionTime() {
		fa.SendAlert("FIX session logged out during session time")
	}
}

Currently that involves us re-parsing the Start/End time config from the session, where this is already done in time_range.go in the internal package. I believe it would be useful to move time_range.go to another package that is exported for public usage, though I'm unsure if there is any specific reason that it hasn't been exported currently.

Assignee
Assign to
Time tracking