mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 08:48:32 +02:00
fixed loadbalancer with idlewatcher, fixed reload issue
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
type Scheme string
|
||||
|
||||
func NewScheme[String ~string](s String) (Scheme, E.NestedError) {
|
||||
func NewScheme[String ~string](s String) (Scheme, E.Error) {
|
||||
switch s {
|
||||
case "http", "https", "tcp", "udp":
|
||||
return Scheme(s), nil
|
||||
|
||||
Reference in New Issue
Block a user