Documentation ¶
Index ¶
- func CreateRandomConfig(ctx context.Context, _ uuid.UUID, configType string) (*models.VPNConfig, string, error)
- func DeleteRandomUser() error
- func DeleteUser(ctx context.Context, logger *slog.Logger, opts *core.Options, ...) (int, error)
- func GreateUser(ctx context.Context, logger *slog.Logger, opts *core.Options, ...) (*models.VPNConfig, int, error)
- type ConfigRequest
- type SocketDeleteUser
- type SocketNewUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRandomConfig ¶
func DeleteRandomUser ¶
func DeleteRandomUser() error
func DeleteUser ¶
Types ¶
type ConfigRequest ¶
type ConfigRequest struct {
Configs []string `json:"configs"`
}
type SocketDeleteUser ¶ added in v1.9.15
type SocketDeleteUser struct {
FreeSlots int `json:"free_slots"`
}
Click to show internal directories.
Click to hide internal directories.