Documentation ¶
Index ¶
- type CompositeField
- type Conn
- type Post
- type ProtoStream
- func (self *ProtoStream) Composite(group string, minTime, maxTime time.Time, limit uint64, out *[]CompositeField) *ProtoStream
- func (self *ProtoStream) Execute() error
- func (self *ProtoStream) Get(group, id string, out *Post) *ProtoStream
- func (self *ProtoStream) Head(group, id string, out *map[string]string) *ProtoStream
- func (self *ProtoStream) Post(headers map[string]string, post string) *ProtoStream
- func (self *ProtoStream) Read(group string, out **[]string) *ProtoStream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeField ¶
type Conn ¶
func NewConn ¶
func NewConn(cert tls.Certificate) *Conn
func (*Conn) AsProtoStream ¶
func (conn *Conn) AsProtoStream() *ProtoStream
type ProtoStream ¶
type ProtoStream struct {
// contains filtered or unexported fields
}
func (*ProtoStream) Composite ¶
func (self *ProtoStream) Composite(group string, minTime, maxTime time.Time, limit uint64, out *[]CompositeField) *ProtoStream
func (*ProtoStream) Execute ¶
func (self *ProtoStream) Execute() error
func (*ProtoStream) Get ¶
func (self *ProtoStream) Get(group, id string, out *Post) *ProtoStream
func (*ProtoStream) Head ¶
func (self *ProtoStream) Head(group, id string, out *map[string]string) *ProtoStream
func (*ProtoStream) Post ¶
func (self *ProtoStream) Post(headers map[string]string, post string) *ProtoStream
func (*ProtoStream) Read ¶
func (self *ProtoStream) Read(group string, out **[]string) *ProtoStream
Click to show internal directories.
Click to hide internal directories.