Documentation
¶
Index ¶
Constants ¶
View Source
const ( RoleTypeMember = RoleType("MEMBER") RoleTypePeer = RoleType("PEER") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyEndorsementPolicy ¶
type KeyEndorsementPolicy interface { Policy() ([]byte, error) AddOrgs(roleType RoleType, organizations ...string) error DelOrgs(organizations ...string) ListOrgs() []string }
func NewStateEP ¶
func NewStateEP(policy []byte) (KeyEndorsementPolicy, error)
type RoleTypeDoesNotExistError ¶
type RoleTypeDoesNotExistError struct {
RoleType RoleType
}
func (*RoleTypeDoesNotExistError) Error ¶
func (r *RoleTypeDoesNotExistError) Error() string
Click to show internal directories.
Click to hide internal directories.