Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ISO8601 is our date format of choice
ISO8601 = "2006-01-02T15:04:05.999Z07:00"
)
Variables ¶
This section is empty.
Functions ¶
func HostAndIpToBits ¶
HostAndIpToBits parses an address parsing out the host and port Example input - http://abc.com:1234 returns { true, http, abc.com, 1234 }
Types ¶
type ISO8601Time ¶
ISO8601Time ensures a time.Time is serialised to the ISO8601 format
func (*ISO8601Time) AsTime ¶
func (t *ISO8601Time) AsTime() time.Time
func (ISO8601Time) MarshalJSON ¶
func (t ISO8601Time) MarshalJSON() ([]byte, error)
func (ISO8601Time) String ¶
func (t ISO8601Time) String() string
func (*ISO8601Time) UnmarshalJSON ¶
func (t *ISO8601Time) UnmarshalJSON(data []byte) (err error)
type Subject ¶
type Subject struct {
// contains filtered or unexported fields
}
func BuildSubjectKey ¶
func ParseSubject ¶
Click to show internal directories.
Click to hide internal directories.