summaryrefslogtreecommitdiff
path: root/payload.go
blob: 63a709dc1030d753fa7f4ba29078d0965f50f74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package roadrunner

type Payload struct {
	Head, Body []byte
}

func (p *Payload) HeadString() {

}

// String returns payload body as string
func (p *Payload) String() string {
	return string(p.Body)
}