Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct {
FamilyName string `short:"f" long:"family_name" description:"transaction family name, the source account number at this time"`
}
Opts is for parsing command line options
type TpHandler ¶
type TpHandler struct {
TpName string // this is to be used as the transactions family name
TpVersion string // this the family version
}
TpHandler is the handler to register with the validator
func (*TpHandler) Apply ¶
func (r *TpHandler) Apply(tx *processor_pb2.TpProcessRequest, context *processor.Context) error
Apply is the main logic
func (*TpHandler) FamilyName ¶
FamilyName returns prefix for transactions handled by this handler
func (*TpHandler) FamilyVersions ¶
FamilyVersions as the name says...
func (*TpHandler) Namespaces ¶
Namespaces for transactions
Click to show internal directories.
Click to hide internal directories.