Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// SequenceNum is the message sequence number used to reorder
// messages.
SequenceNum int `json:"sequence_number"`
// RequestTime is the time in microseconds when the request
// was received.
RequestStart int64 `json:"request_start_us"`
// Stream is the C@E stream, either stdout or stderr.
Stream string `json:"stream"`
// RequestID is a UUID representing individual requests to the
// particular Wasm service.
RequestID string `json:"id"`
// Message is the actual message body the user wants printed.
Message string `json:"message"`
}
Log defines the message envelope that compute@edge (C@E) wraps the user messages in.
func (*Log) RequestStartFromRaw ¶
RequestStartFromRaw return a time.Time object representing the RequestStart data.
type RootCommand ¶
type RootCommand struct {
cmd.Base
Input fastly.CreateManagedLoggingInput
// contains filtered or unexported fields
}
RootCommand is the parent command for all subcommands in this package. It should be installed under the primary root command.
func NewRootCommand ¶
func NewRootCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *RootCommand
NewRootCommand returns a new command registered in the parent.
Click to show internal directories.
Click to hide internal directories.