You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ntool-biz/nkatago/req/req_gtp.go

26 lines
358 B
Go

package req
import (
"git.noahlan.cn/noahlan/ntool/nsys/cmdn"
)
var _ cmdn.ICommand = (*GtpReq)(nil)
type GtpReq struct {
ID string
Command string
Args []string
}
func NewGtpReq(id, cmd string, args ...string) *GtpReq {
return &GtpReq{
ID: id,
Command: cmd,
Args: args,
}
}
func (r *GtpReq) MessageID() string {
return ""
}