templates

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarshalData

type MarshalData struct {
	Revision     string  `json:"revision"`
	Branch       string  `json:"branch"`
	Environment  string  `json:"environment"`
	BootTime     string  `json:"boot"`
	Uptime       float64 `json:"uptime"`
	RequestCount int     `json:"request_count"`
}

func (*MarshalData) JSON

func (d *MarshalData) JSON() string

func (*MarshalData) StreamJSON

func (d *MarshalData) StreamJSON(qw422016 *qt422016.Writer)

func (*MarshalData) WriteJSON

func (d *MarshalData) WriteJSON(qq422016 qtio422016.Writer)

type NextBus

type NextBus struct {
	Next      string `json:"next"`
	Name      string `json:"name"`
	Method    string `json:"method"`
	RequestID string `json:"request_id"`
}

func (*NextBus) JSON

func (d *NextBus) JSON() string

func (*NextBus) StreamJSON

func (d *NextBus) StreamJSON(qw422016 *qt422016.Writer)

func (*NextBus) WriteJSON

func (d *NextBus) WriteJSON(qq422016 qtio422016.Writer)

Jump to

Keyboard shortcuts

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