Documentation ¶
Index ¶
- func DurationFromSecond(seconds int32) time.Duration
- func DurationNotNegative(seconds int32) time.Duration
- func GetPortByURL(url string) int32
- func SelectorsToDb(selectors []*apiPb.HttpJsonValueConfig_Selectors) []*scheduler_config_storage.Selectors
- func SelectorsToProto(selectors []*scheduler_config_storage.Selectors) []*apiPb.HttpJsonValueConfig_Selectors
- func TimeoutContext(parentCtx context.Context, timeout time.Duration) (context.Context, context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationFromSecond ¶
func DurationNotNegative ¶
func GetPortByURL ¶
func SelectorsToDb ¶
func SelectorsToDb(selectors []*apiPb.HttpJsonValueConfig_Selectors) []*scheduler_config_storage.Selectors
func SelectorsToProto ¶
func SelectorsToProto(selectors []*scheduler_config_storage.Selectors) []*apiPb.HttpJsonValueConfig_Selectors
func TimeoutContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.