Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement cache to remember last selected #10

Open
Lemorz56 opened this issue Jun 5, 2023 · 2 comments
Open

implement cache to remember last selected #10

Lemorz56 opened this issue Jun 5, 2023 · 2 comments
Labels
feature New feature or request good first issue Good for newcomers
Milestone

Comments

@Lemorz56
Copy link
Owner

Lemorz56 commented Jun 5, 2023

Implement a cache for the GUI mode to remember last interface and pcap file selected if we start the GUI again. Try to see if we can use fyne's storage or just use a simple file in the appdata dir.

@Lemorz56 Lemorz56 added feature New feature or request good first issue Good for newcomers labels Jun 5, 2023
@Lemorz56 Lemorz56 added this to the v1.0.0 milestone Jun 5, 2023
@krishnaduttPanchagnula
Copy link

krishnaduttPanchagnula commented Jun 7, 2023

remember last interface

Can you expand what do you mean by last interface? Is it fine if we just remember the path of the previous pcap file?

@Lemorz56
Copy link
Owner Author

Lemorz56 commented Jun 7, 2023

remember last interface

Can you expand what do you mean by last interface? Is it fine if we just remember the path of the previous pcap file?

By interface I mean the Network Interface, which right now is stored in the variable "commons.IntfId". Used for example in pcap.go on line 198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants