timebox

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_timebox_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TimeBox

type TimeBox struct {
	NotAfter *timestamp.Timestamp `protobuf:"bytes,1,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
	Payload  []byte               `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

TimeBox wraps byte string payload with an expiration date

func (*TimeBox) Descriptor deprecated

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

Deprecated: Use TimeBox.ProtoReflect.Descriptor instead.

func (*TimeBox) GetNotAfter

func (x *TimeBox) GetNotAfter() *timestamp.Timestamp

func (*TimeBox) GetPayload

func (x *TimeBox) GetPayload() []byte

func (*TimeBox) ProtoMessage

func (*TimeBox) ProtoMessage()

func (*TimeBox) ProtoReflect

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

func (*TimeBox) Reset

func (x *TimeBox) Reset()

func (*TimeBox) String

func (x *TimeBox) String() string

Jump to

Keyboard shortcuts

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