structs

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Status    enums.Status `thrift:"status,1" json:"status"`
	Name      string       `thrift:"name,2" json:"name"`
	CreatedAt int64        `thrift:"createdAt,3" json:"createdAt"`
}

func NewJob

func NewJob() *Job

func (*Job) GetCreatedAt

func (p *Job) GetCreatedAt() (v int64)

func (*Job) GetName

func (p *Job) GetName() (v string)

func (*Job) GetStatus

func (p *Job) GetStatus() (v enums.Status)

func (*Job) Read

func (p *Job) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Job) ReadField1

func (p *Job) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*Job) ReadField2

func (p *Job) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*Job) ReadField3

func (p *Job) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*Job) String

func (p *Job) String() string

func (*Job) Write

func (p *Job) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

Jump to

Keyboard shortcuts

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