StreamRequest.go 302 B

1234567891011121314151617181920
  1. package request
  2. import (
  3. "bytes"
  4. )
  5. type StreamRequest struct {
  6. }
  7. func NewStreamRequest() *StreamRequest {
  8. return &StreamRequest{}
  9. }
  10. func (this *StreamRequest) Url() string {
  11. return "/push/stream"
  12. }
  13. func (this *StreamRequest) GetRequestData() *bytes.Buffer {
  14. return bytes.NewBufferString("")
  15. }