Documentation
¶
Index ¶
Constants ¶
View Source
const ( CountKey = "count" ConsoleKey = "console" ButtonTestKey = "button_test" )
Variables ¶
View Source
var Resources embed.FS
Embed all translations in the resources directory
Functions ¶
Types ¶
type Mcrvpn ¶
type Mcrvpn struct {
ex.Base[McrvpnData] // Embedding base extension functionality
// contains filtered or unexported fields
}
Mcrvpn represents the core functionality of the extension
func (*Mcrvpn) BeforeAppConnect ¶
func (e *Mcrvpn) BeforeAppConnect(hiddifySettings *config.HiddifyOptions, singconfig *option.Options) error
To Modify user's config before connecting, you can use this function
type McrvpnData ¶
type McrvpnData struct {
Count int `json:"count"` // Number of counts for the extension
}
McrvpnData holds the data specific to Mcrvpn
Click to show internal directories.
Click to hide internal directories.