storage

package
v0.0.2-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_proto_storage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CanteenData

type CanteenData struct {
	Id       string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label    map[string]string `` /* 151-byte string literal not displayed */
	Meta     map[string]string `` /* 149-byte string literal not displayed */
	Provider string            `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CanteenData) Descriptor deprecated

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

Deprecated: Use CanteenData.ProtoReflect.Descriptor instead.

func (*CanteenData) GetId

func (x *CanteenData) GetId() string

func (*CanteenData) GetLabel

func (x *CanteenData) GetLabel() map[string]string

func (*CanteenData) GetMeta

func (x *CanteenData) GetMeta() map[string]string

func (*CanteenData) GetProvider

func (x *CanteenData) GetProvider() string

func (*CanteenData) MarshalToSizedBufferVT

func (m *CanteenData) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CanteenData) MarshalToVT

func (m *CanteenData) MarshalToVT(dAtA []byte) (int, error)

func (*CanteenData) MarshalVT

func (m *CanteenData) MarshalVT() (dAtA []byte, err error)

func (*CanteenData) ProtoMessage

func (*CanteenData) ProtoMessage()

func (*CanteenData) ProtoReflect

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

func (*CanteenData) Reset

func (x *CanteenData) Reset()

func (*CanteenData) SizeVT

func (m *CanteenData) SizeVT() (n int)

func (*CanteenData) String

func (x *CanteenData) String() string

func (*CanteenData) UnmarshalVT

func (m *CanteenData) UnmarshalVT(dAtA []byte) error

type Root

type Root struct {
	Canteens   []*CanteenData                    `protobuf:"bytes,1,rep,name=canteens,proto3" json:"canteens,omitempty"`
	LastUpdate map[string]*timestamppb.Timestamp `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Root) Descriptor deprecated

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

Deprecated: Use Root.ProtoReflect.Descriptor instead.

func (*Root) GetCanteens

func (x *Root) GetCanteens() []*CanteenData

func (*Root) GetLastUpdate

func (x *Root) GetLastUpdate() map[string]*timestamppb.Timestamp

func (*Root) MarshalToSizedBufferVT

func (m *Root) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Root) MarshalToVT

func (m *Root) MarshalToVT(dAtA []byte) (int, error)

func (*Root) MarshalVT

func (m *Root) MarshalVT() (dAtA []byte, err error)

func (*Root) ProtoMessage

func (*Root) ProtoMessage()

func (*Root) ProtoReflect

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

func (*Root) Reset

func (x *Root) Reset()

func (*Root) SizeVT

func (m *Root) SizeVT() (n int)

func (*Root) String

func (x *Root) String() string

func (*Root) UnmarshalVT

func (m *Root) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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