Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Operation ¶
type Operation int
Operation defines an operation type.
func FromContext ¶
FromContext retrieves the *op.Action stored against the op.CtxKey from the context.
func (Operation) MarshalJSON ¶
MarshalJSON is the implementation of the Marshaler interface for marshaling op.Action type.
func (Operation) String ¶
String is the implementation of Stringer interface that returns the string representation of op.Action.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON is the implementation of the Unmarshaler interface for unmarshaling op.Action type.
Click to show internal directories.
Click to hide internal directories.