Documentation ¶ Index ¶ type PolicyId func FromBytes(value []byte) (*PolicyId, error) func New(value string) (*PolicyId, error) func (policyId *PolicyId) MarshalCBOR() ([]byte, error) func (policyId PolicyId) String() string func (policyId *PolicyId) UnmarshalCBOR(value []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type PolicyId ¶ type PolicyId struct { Value string Tp string } func FromBytes ¶ func FromBytes(value []byte) (*PolicyId, error) func New ¶ func New(value string) (*PolicyId, error) func (*PolicyId) MarshalCBOR ¶ func (policyId *PolicyId) MarshalCBOR() ([]byte, error) func (PolicyId) String ¶ func (policyId PolicyId) String() string func (*PolicyId) UnmarshalCBOR ¶ func (policyId *PolicyId) UnmarshalCBOR(value []byte) error Source Files ¶ View all Source files Policy.go Click to show internal directories. Click to hide internal directories.