Documentation ¶
Index ¶
Constants ¶
View Source
const L = "COUNT"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Subscription *subscription.Id Filters *filters.T }
func NewRequest ¶
func NewRequest(id *subscription.Id, filters *filters.T) *Request
func ParseRequest ¶
func ParseRequest(b by) (t *Request, rem by, err er)
func (*Request) MarshalJSON ¶
func (en *Request) MarshalJSON(dst by) (b by, err er)
func (*Request) UnmarshalJSON ¶
func (en *Request) UnmarshalJSON(b by) (r by, err er)
type Response ¶
type Response struct { ID *subscription.Id Count no Approximate bo }
func NewResponse ¶
func NewResponse() *Response
func NewResponseFrom ¶
func NewResponseFrom[V st | by](s V, cnt no, approx ...bo) (res *Response, err er)
func (*Response) MarshalJSON ¶
func (en *Response) MarshalJSON(dst by) (b by, err er)
func (*Response) UnmarshalJSON ¶
func (en *Response) UnmarshalJSON(b by) (r by, err er)
Click to show internal directories.
Click to hide internal directories.