mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-04 17:29:22 +00:00
18 lines
312 B
Go
18 lines
312 B
Go
package http
|
|
|
|
import v1 "github.com/ayflying/p2p/api/p2p/v1"
|
|
|
|
type Http struct {
|
|
Ip string `json:"ip"`
|
|
Port int `json:"port"`
|
|
Cname string `json:"cname"`
|
|
Data []byte `json:"data"`
|
|
}
|
|
|
|
var New = Http{}
|
|
|
|
func (h Http) Message(msg *v1.Message) (err error) {
|
|
//TODO implement me
|
|
panic("implement me")
|
|
}
|