Documentation
¶
Index ¶
- func CleanEndpoint(s string) (string, error)
- func ComputeJSONHmac(hash, data, secret string, order bool) (string, error)
- func ConvertDefaultHeaderToCustomHeader(h *http.Header) *convoy.HttpHeader
- func EndOfMonth(t time.Time) time.Time
- func GenerateRandomString(s int) (string, error)
- func GenerateSecret() (string, error)
- func GetMetadataFromEndpoints(endpoints []convoy.Endpoint) []convoy.EndpointMetadata
- func IsJSON(s string) bool
- func IsStringEmpty(s string) bool
- func JsonReMarshalString(s string) (string, error)
- func ParseMetadataFromActiveEndpoints(endpoints []convoy.Endpoint) []convoy.EndpointMetadata
- func StartOfMonth(t time.Time) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanEndpoint ¶
func ConvertDefaultHeaderToCustomHeader ¶
func ConvertDefaultHeaderToCustomHeader(h *http.Header) *convoy.HttpHeader
ConvertDefaultHeaderToCustomHeader converts http.Header to convoy.HttpHeader
func GenerateRandomString ¶
GenerateRandomString generates a random string source form /dev/urandom
func GenerateSecret ¶
func GetMetadataFromEndpoints ¶
func GetMetadataFromEndpoints(endpoints []convoy.Endpoint) []convoy.EndpointMetadata
func IsStringEmpty ¶
IsStringEmpty checks if the given string s is empty or not
func JsonReMarshalString ¶
func ParseMetadataFromActiveEndpoints ¶
func ParseMetadataFromActiveEndpoints(endpoints []convoy.Endpoint) []convoy.EndpointMetadata
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.