Documentation
¶
Index ¶
- type NWSMockServer
- func (ms *NWSMockServer) Close()
- func (ms *NWSMockServer) ForecastCalls() int
- func (ms *NWSMockServer) LookupCalls() int
- func (ms *NWSMockServer) ResetForecastCalls()
- func (ms *NWSMockServer) ResetLookupCalls()
- func (ms *NWSMockServer) Run() string
- func (ms *NWSMockServer) SetValidTimes(when time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NWSMockServer ¶
type NWSMockServer struct {
// contains filtered or unexported fields
}
func NewMockServer ¶
func NewMockServer() *NWSMockServer
func (*NWSMockServer) Close ¶
func (ms *NWSMockServer) Close()
func (*NWSMockServer) ForecastCalls ¶
func (ms *NWSMockServer) ForecastCalls() int
func (*NWSMockServer) LookupCalls ¶
func (ms *NWSMockServer) LookupCalls() int
func (*NWSMockServer) ResetForecastCalls ¶
func (ms *NWSMockServer) ResetForecastCalls()
func (*NWSMockServer) ResetLookupCalls ¶
func (ms *NWSMockServer) ResetLookupCalls()
func (*NWSMockServer) Run ¶
func (ms *NWSMockServer) Run() string
func (*NWSMockServer) SetValidTimes ¶
func (ms *NWSMockServer) SetValidTimes(when time.Time)
Click to show internal directories.
Click to hide internal directories.