feat usn sid 改成string

This commit is contained in:
2026-01-10 16:02:23 +08:00
parent e209ec64af
commit 8c6614578b
11 changed files with 43 additions and 49 deletions

View File

@@ -9,11 +9,11 @@ import (
)
type GrpcConnection struct {
sid int64
sid string
conn *grpc.ClientConn
}
func NewGrpcConnection(sid int64, address string) (*GrpcConnection, error) {
func NewGrpcConnection(sid string, address string) (*GrpcConnection, error) {
p := &GrpcConnection{
sid: sid,
}