Fix
This commit is contained in:
@@ -2,6 +2,7 @@ package config
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
@@ -42,6 +43,7 @@ func GetPort() string {
|
||||
func GetRate() (int, int) {
|
||||
rate := conf.Get("r").GetInt()
|
||||
burst := conf.Get("b").GetInt()
|
||||
log.Println("rate/burst:", rate, burst)
|
||||
return rate, burst
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user