Documentation ¶
Index ¶
- type CronFn
- type Middleware
- type Option
- func IsProductionEnvironment(v bool) Option
- func IsTestEnvironment(v bool) Option
- func TrackUsageData(v bool) Option
- func WithCron(cronFn CronFn) Option
- func WithReleaseVersion(releaseVersion string) Option
- func WithStatsd(statsd *statsd.Client) Option
- func WithUpdateInfo(updateInfo shared.UpdateInfo) Option
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
func IsProductionEnvironment ¶
func IsTestEnvironment ¶
func TrackUsageData ¶
func WithReleaseVersion ¶
func WithStatsd ¶
func WithUpdateInfo ¶
func WithUpdateInfo(updateInfo shared.UpdateInfo) Option
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) UpdateReleaseVersion ¶
func (s *Server) UpdateReleaseVersion(v string, updateInfo shared.UpdateInfo)
Click to show internal directories.
Click to hide internal directories.