Documentation ¶
Index ¶
- type Algolia_File_Service
- type MediaFormat
- func (format *MediaFormat) Close() error
- func (format *MediaFormat) Decode() (image.Image, error)
- func (format *MediaFormat) Get(index *algolia_Client.Index, object *algolia_Client.SaveObjectRes) (interface{}, image.Image, error)
- func (format *MediaFormat) Index(client *algolia_Client.Client, name ...string) *algolia_Client.Index
- func (format *MediaFormat) Put(index *algolia_Client.Index) (*algolia_Client.SaveObjectRes, error)
- func (format *MediaFormat) Query(index *algolia_Client.Index, result *algolia_Client.SaveObjectRes, ...) (algolia_Client.QueryRes, error)
- func (format *MediaFormat) ToConnectAlgolia(credentials *protos.Credentials) *algolia_Client.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Algolia_File_Service ¶
type Algolia_File_Service interface { ToConnectAlgolia(credentials *protos.Credentials) *algolia_Client.Client Index(client *algolia_Client.Client, name ...string) *algolia_Client.Index Put(index *algolia_Client.Index) (*algolia_Client.SaveObjectRes, error) Get(index *algolia_Client.Index, object *algolia_Client.SaveObjectRes) (interface{}, image.Image, error) Decode() (image.Image, error) Close() error Query(index *algolia_Client.Index, result *algolia_Client.SaveObjectRes, doc ...string) (algolia_Client.QueryRes, error) }
func NewAlgolia_Object ¶
func NewAlgolia_Object(file *os.File) Algolia_File_Service
type MediaFormat ¶
type MediaFormat struct { File *os.File `json:"File"` Class protos.ImageType `json:"Class"` Avatar *image.Image `json:"Avatar"` FormatType protos.ImageFormatType `json:"FormatType"` }
func (*MediaFormat) Close ¶
func (format *MediaFormat) Close() error
func (*MediaFormat) Get ¶
func (format *MediaFormat) Get(index *algolia_Client.Index, object *algolia_Client.SaveObjectRes) (interface{}, image.Image, error)
func (*MediaFormat) Index ¶
func (format *MediaFormat) Index(client *algolia_Client.Client, name ...string) *algolia_Client.Index
func (*MediaFormat) Put ¶
func (format *MediaFormat) Put(index *algolia_Client.Index) (*algolia_Client.SaveObjectRes, error)
func (*MediaFormat) Query ¶
func (format *MediaFormat) Query(index *algolia_Client.Index, result *algolia_Client.SaveObjectRes, doc ...string) (algolia_Client.QueryRes, error)
func (*MediaFormat) ToConnectAlgolia ¶
func (format *MediaFormat) ToConnectAlgolia(credentials *protos.Credentials) *algolia_Client.Client
Click to show internal directories.
Click to hide internal directories.