Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

feat(outline/electron): ✨ expose checkConnectivity as a library function #103

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jyyi1
Copy link
Contributor

@jyyi1 jyyi1 commented Jan 18, 2023

In this PR, I exposed checkConnectivity as a library function to be used by Outline Client electron app.

Related PR: Jigsaw-Code/outline-apps#1555

@jyyi1 jyyi1 force-pushed the junyi/clib-for-electron branch from 660379e to fda1613 Compare January 18, 2023 03:20
@jyyi1 jyyi1 changed the title feat(outline/electron): ✨ expose checkConnectivity as a library function feat(outline/electron): ✨ expose checkConnectivity as a library function Jan 18, 2023
@jyyi1 jyyi1 self-assigned this Jan 18, 2023
outline/electron/lib.go Outdated Show resolved Hide resolved
@@ -42,23 +42,33 @@ ELECTRON_PATH=$(IMPORT_PATH)/outline/electron

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should move the entire directory to /outline/internal/electron, to make it clear this code is not to be used externally.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for the android and apple directories.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, I will start with the electron one first.

@jyyi1 jyyi1 force-pushed the junyi/clib-for-electron branch from fda1613 to 882bdf8 Compare January 19, 2023 19:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants