Versions in this module Expand all Collapse all v1 v1.1.0 Mar 14, 2021 v1.0.0 Mar 9, 2021 Changes in this version + const EndPointsCapacity + type EndPoint struct + BasePath string + DelayMaxMs int + DelayMinMs int + ID int + ReturnBody string + ReturnCode int + ReturnHeaders map[string][]string + type EndPoints struct + Map map[int]*EndPoint + func (e *EndPoints) Add(ep *EndPoint) error + func (e *EndPoints) Delete(id int) error + func (e *EndPoints) FirstID() int + func (e *EndPoints) GetByPath(path string) *EndPoint + func (e *EndPoints) IsPrefixed(id int, path string) (bool, string) + func (e *EndPoints) LastID() int + func (e *EndPoints) List() []*EndPoint + func (e *EndPoints) Update(id int, ep *EndPoint) error