collection

package
v0.0.0-...-4a74ca9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Firestore_Picture_Client *firestore.Client
	Size                     int64 = 1
)
View Source
var File_structs_collection_gallery_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Gallery []*Pictures `protobuf:"bytes,1,rep,name=gallery,proto3" json:"gallery,omitempty"`
	// contains filtered or unexported fields
}

create array of Pictures for multiple pictures

func (*Collection) Descriptor deprecated

func (*Collection) Descriptor() ([]byte, []int)

Deprecated: Use Collection.ProtoReflect.Descriptor instead.

func (*Collection) GetGallery

func (x *Collection) GetGallery() []*Pictures

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) ProtoReflect

func (x *Collection) ProtoReflect() protoreflect.Message

func (*Collection) Reset

func (x *Collection) Reset()

func (*Collection) String

func (x *Collection) String() string
type Gallery_Stream_Server struct{}
func (s *Gallery_Stream_Server) NewPictures(ctx context.Context, images *Pictures) *Collection

type Pictures

type Pictures struct {
	PicId       string            `protobuf:"bytes,1,opt,name=Pic_id,json=PicId,proto3" json:"Pic_id,omitempty"`
	PicSrc      string            `protobuf:"bytes,2,opt,name=Pic_src,json=PicSrc,proto3" json:"Pic_src,omitempty"`
	PicDate     string            `protobuf:"bytes,3,opt,name=Pic_date,json=PicDate,proto3" json:"Pic_date,omitempty"`
	PicTime     string            `protobuf:"bytes,4,opt,name=Pic_time,json=PicTime,proto3" json:"Pic_time,omitempty"`
	UserAgentId string            `protobuf:"bytes,5,opt,name=User_agent_id,json=UserAgentId,proto3" json:"User_agent_id,omitempty"`
	PicTags     string            `protobuf:"bytes,6,opt,name=Pic_tags,json=PicTags,proto3" json:"Pic_tags,omitempty"`
	CDR         map[string]string `` // key : multi-format cid , value : link of storage
	/* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

create protocol buffer structure

func (*Pictures) Descriptor deprecated

func (*Pictures) Descriptor() ([]byte, []int)

Deprecated: Use Pictures.ProtoReflect.Descriptor instead.

func (*Pictures) GetCDR

func (x *Pictures) GetCDR() map[string]string

func (*Pictures) GetPicDate

func (x *Pictures) GetPicDate() string

func (*Pictures) GetPicId

func (x *Pictures) GetPicId() string

func (*Pictures) GetPicSrc

func (x *Pictures) GetPicSrc() string

func (*Pictures) GetPicTags

func (x *Pictures) GetPicTags() string

func (*Pictures) GetPicTime

func (x *Pictures) GetPicTime() string

func (*Pictures) GetUserAgentId

func (x *Pictures) GetUserAgentId() string

func (*Pictures) ProtoMessage

func (*Pictures) ProtoMessage()

func (*Pictures) ProtoReflect

func (x *Pictures) ProtoReflect() protoreflect.Message

func (*Pictures) Reset

func (x *Pictures) Reset()

func (*Pictures) String

func (x *Pictures) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL