dashboard/models/unisrpcparams.go

23 lines
328 B
Go

package models
import "fmt"
const rpcNamePrefix = "UnisRpcService"
type UnisRpcMethod string
func (m UnisRpcMethod)String()string{
return fmt.Sprintf("%s.%s",rpcNamePrefix,string(m))
}
const(
UnisStationConfig UnisRpcMethod = "Config"
)
type UnisRpcRequest struct{
Id string
}
type UnisRpcResponse struct{
Id string
}