histlog

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 5 Imported by: 0

README

GoDoc

histlog

The histlog package is used to parse logs involving the deployment of Roblox builds.

Documentation

Overview

The histlog package is used to parse logs involving the deployment of Roblox builds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZonePST

func ZonePST() *time.Location

Types

type Job

type Job struct {
	Action  string
	Build   string
	GUID    string
	Time    time.Time
	Version Version
}

func (*Job) MarshalJSON

func (j *Job) MarshalJSON() (b []byte, err error)

func (*Job) UnmarshalJSON

func (j *Job) UnmarshalJSON(b []byte) error

type Raw

type Raw string

func (Raw) MarshalJSON

func (r Raw) MarshalJSON() (b []byte, err error)

func (*Raw) UnmarshalJSON

func (r *Raw) UnmarshalJSON(b []byte) error

type Status

type Status string

func (Status) MarshalJSON

func (s Status) MarshalJSON() (b []byte, err error)

func (*Status) UnmarshalJSON

func (s *Status) UnmarshalJSON(b []byte) error

type Stream

type Stream []Token

func Lex

func Lex(b []byte) (s Stream)

Lex processes a stream of bytes into a stream of tokens.

func (Stream) MarshalJSON

func (s Stream) MarshalJSON() (b []byte, err error)

func (*Stream) UnmarshalJSON

func (s *Stream) UnmarshalJSON(b []byte) error

type Token

type Token interface {
	json.Marshaler
	json.Unmarshaler
	// contains filtered or unexported methods
}

type Version

type Version struct {
	Major, Minor, Maint, Build int
}

func VersionFromString

func VersionFromString(s string) (v Version, ok bool)

func (Version) Compare

func (a Version) Compare(b Version) int

func (Version) Empty

func (v Version) Empty() bool

func (Version) MarshalJSON

func (v Version) MarshalJSON() (b []byte, err error)

func (Version) String

func (v Version) String() string

func (*Version) UnmarshalJSON

func (v *Version) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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