Documentation ¶
Index ¶
- Variables
- func GetClassification(mappable helpers.Mappable) documents.Classification
- func MappablesToInterface(mappables []*Mappable) []helpers.Mappable
- func NewMappable(classification documents.Classification) helpers.Mappable
- func Prototype() helpers.Mappable
- type Mappable
- func (*Mappable) Descriptor() ([]byte, []int)
- func (m *Mappable) GetClassification() *base.Document
- func (m *Mappable) Marshal() (dAtA []byte, err error)
- func (m *Mappable) MarshalTo(dAtA []byte) (int, error)
- func (m *Mappable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mappable) ProtoMessage()
- func (*Mappable) RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
- func (m *Mappable) Reset()
- func (m *Mappable) Size() (n int)
- func (m *Mappable) String() string
- func (m *Mappable) Unmarshal(dAtA []byte) error
- func (mappable *Mappable) ValidateBasic() error
- func (m *Mappable) XXX_DiscardUnknown()
- func (m *Mappable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mappable) XXX_Merge(src proto.Message)
- func (m *Mappable) XXX_Size() int
- func (m *Mappable) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetClassification ¶
func GetClassification(mappable helpers.Mappable) documents.Classification
func MappablesToInterface ¶
func NewMappable ¶
func NewMappable(classification documents.Classification) helpers.Mappable
Types ¶
type Mappable ¶
type Mappable struct {
Classification *base.Document `protobuf:"bytes,1,opt,name=classification,proto3" json:"classification,omitempty"`
}
func MappablesFromInterface ¶
func (*Mappable) Descriptor ¶
func (*Mappable) GetClassification ¶
func (*Mappable) MarshalToSizedBuffer ¶
func (*Mappable) ProtoMessage ¶
func (*Mappable) ProtoMessage()
func (*Mappable) RegisterLegacyAminoCodec ¶
func (*Mappable) RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
func (*Mappable) ValidateBasic ¶
func (*Mappable) XXX_DiscardUnknown ¶
func (m *Mappable) XXX_DiscardUnknown()
func (*Mappable) XXX_Marshal ¶
func (*Mappable) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.