package proxy import ( "context" "egg-im/pkg/pb" ) type deviceProxy interface { ListOnlineByUserId(ctx context.Context, userId int64) ([]*pb.Device, error) } var DeviceProxy deviceProxy