Documentation
¶
Index ¶
Constants ¶
View Source
const ( InvalidAccountErrorName = "InvalidAccount" AccountPlanMissingErrorName = "AccountPlanMissing" )
Variables ¶
View Source
var Add = binding.Bind[*AddArguments, *AddOK](command.MustParse("/provider/add"))
View Source
var ErrAccountPlanMissing = errors.New(AccountPlanMissingErrorName, "account does not have an active payment plan")
Functions ¶
This section is empty.
Types ¶
type AddArguments ¶
type AddArguments struct {
Provider did.DID `cborgen:"provider" dagjsongen:"provider"`
Consumer did.DID `cborgen:"consumer" dagjsongen:"consumer"`
}
func (*AddArguments) MarshalCBOR ¶
func (t *AddArguments) MarshalCBOR(w io.Writer) error
func (*AddArguments) MarshalDagJSON ¶
func (t *AddArguments) MarshalDagJSON(w io.Writer) error
func (*AddArguments) UnmarshalCBOR ¶
func (t *AddArguments) UnmarshalCBOR(r io.Reader) (err error)
func (*AddArguments) UnmarshalDagJSON ¶
func (t *AddArguments) UnmarshalDagJSON(r io.Reader) (err error)
Click to show internal directories.
Click to hide internal directories.