Documentation
¶
Index ¶
- func AddGroup(name string, subscription_url string)
- func AddProfiles(uris string, gid int)
- func Connect(group_id int, profile_id int)
- func CreateJsonCommand(msg string, obj any) []byte
- func DeleteGroup(gid int)
- func DeleteProfiles(profiles []sharedtypes.ProfileID)
- func Die()
- func DisableTun()
- func Disconnect()
- func EnableTun()
- func GetApplicationState()
- func Init(connection *connection.ConnectionHandler)
- func IsRoot()
- func Test(group_id int, profile_id int)
- func UpdateProfile(group_id int, profile_id int, name string)
- func UpdateSubscription(gid int)
- type ServerCmds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProfiles ¶
func CreateJsonCommand ¶
func DeleteGroup ¶
func DeleteGroup(gid int)
func DeleteProfiles ¶
func DeleteProfiles(profiles []sharedtypes.ProfileID)
func DisableTun ¶
func DisableTun()
func Disconnect ¶
func Disconnect()
func GetApplicationState ¶
func GetApplicationState()
func Init ¶
func Init(connection *connection.ConnectionHandler)
func UpdateProfile ¶
func UpdateSubscription ¶
func UpdateSubscription(gid int)
Types ¶
type ServerCmds ¶
type ServerCmds struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.