Documentation ¶
Index ¶
- func RegisterCodec(cdc *codec.Codec)
- type Ownership
- func (*Ownership) Descriptor() ([]byte, []int)
- func (this *Ownership) Equal(that interface{}) bool
- func (m *Ownership) GetResource() isOwnership_Resource
- func (*Ownership) ProtoMessage()
- func (m *Ownership) Reset()
- func (m *Ownership) String() string
- func (m *Ownership) XXX_DiscardUnknown()
- func (m *Ownership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ownership) XXX_Merge(src proto.Message)
- func (*Ownership) XXX_OneofWrappers() []interface{}
- func (m *Ownership) XXX_Size() int
- func (m *Ownership) XXX_Unmarshal(b []byte) error
- type Ownership_ServiceHash
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCodec ¶
RegisterCodec registers the ownership types to codec.
Types ¶
type Ownership ¶
type Ownership struct { // Service's hash. Hash github_com_mesg_foundation_engine_hash.Hash `` /* 135-byte string literal not displayed */ // The owner of the resource. Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty" hash:"name:2" validate:"required"` // Resource's hash. // // Types that are valid to be assigned to Resource: // *Ownership_ServiceHash Resource isOwnership_Resource `protobuf_oneof:"resource"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Ownership is a ownership relation between one owner and a resource.
func (*Ownership) Descriptor ¶
func (*Ownership) GetResource ¶
func (m *Ownership) GetResource() isOwnership_Resource
func (*Ownership) ProtoMessage ¶
func (*Ownership) ProtoMessage()
func (*Ownership) XXX_DiscardUnknown ¶
func (m *Ownership) XXX_DiscardUnknown()
func (*Ownership) XXX_Marshal ¶
func (*Ownership) XXX_OneofWrappers ¶
func (*Ownership) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Ownership) XXX_Unmarshal ¶
type Ownership_ServiceHash ¶
type Ownership_ServiceHash struct {
ServiceHash github_com_mesg_foundation_engine_hash.Hash `` /* 150-byte string literal not displayed */
}
func (*Ownership_ServiceHash) Equal ¶
func (this *Ownership_ServiceHash) Equal(that interface{}) bool
Click to show internal directories.
Click to hide internal directories.