Documentation ¶ Index ¶ Constants type B type E type N type S type T func New() *T func NewFrom(eid *eventid.T, ok bool, msg B) *T func (en *T) Label() string func (en *T) MarshalJSON(dst B) (b B, err error) func (en *T) UnmarshalJSON(b B) (r B, err error) func (en *T) Write(ws enveloper.Writer) (err E) Constants ¶ View Source const ( L = "OK" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type B ¶ type B = []byte type E ¶ type E = error type N ¶ added in v0.0.14 type N = int type S ¶ type S = string type T ¶ type T struct { EventID *eventid.T OK bool Reason B } func New ¶ func New() *T func NewFrom ¶ func NewFrom(eid *eventid.T, ok bool, msg B) *T func (*T) Label ¶ func (en *T) Label() string func (*T) MarshalJSON ¶ func (en *T) MarshalJSON(dst B) (b B, err error) func (*T) UnmarshalJSON ¶ func (en *T) UnmarshalJSON(b B) (r B, err error) func (*T) Write ¶ func (en *T) Write(ws enveloper.Writer) (err E) Source Files ¶ View all Source files okenvelope.go util.go Click to show internal directories. Click to hide internal directories.