models

package
v0.0.0-...-5ed6c77 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Key         string
	CreatedAt   time.Time
	ExpiredDate time.Time
}

func FromProto

func FromProto(proto *download_service.Metadata) *Metadata

Convert Protobuf Metadata to models.Metadata

func (*Metadata) ToProto

func (m *Metadata) ToProto() *download_service.Metadata

Convert models.Metadata to Protobuf Metadata

Jump to

Keyboard shortcuts

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