Documentation ¶
Index ¶
- Constants
- Variables
- type ByCity
- type ByGMT
- type DynamoDB
- type EventInfo
- type JSON
- type Redis
- type Storage
- type Text
- type TimeZone
- func (tz TimeZone) City() string
- func (tz TimeZone) Clock() string
- func (tz TimeZone) GMT() string
- func (tz *TimeZone) MarshalJSON() ([]byte, error)
- func (tz TimeZone) Offset() time.Duration
- func (tz TimeZone) ParseClock(clock string) (TimeZone, error)
- func (tz TimeZone) Set(t time.Time) TimeZone
- func (tz TimeZone) String() string
- func (tz TimeZone) Time() time.Time
- func (tz *TimeZone) UnmarshalJSON(b []byte) error
- type Unix
- type ZoneInfo
Constants ¶
View Source
const ( KindUnix = iota KindText KindJOSN KindRedis KindDynamoDB KindStorage )
Variables ¶
View Source
var ( RequireConfiguration = fmt.Errorf("this ZoneInfo type requires client configuration") ErrUnknownZoneInfo = fmt.Errorf("unknown kind for zone info") )
Functions ¶
This section is empty.
Types ¶
type DynamoDB ¶
type DynamoDB struct { Client dynamodbiface.DynamoDBAPI Table string Data ByCity }
type JSON ¶
type JSON struct { File io.ReadWriteCloser Data ByCity }
type Text ¶
type Text struct { File io.ReadWriteCloser Data ByCity }
type TimeZone ¶
type TimeZone struct {
// contains filtered or unexported fields
}
func (*TimeZone) MarshalJSON ¶
func (*TimeZone) UnmarshalJSON ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.