fake

package
Version: v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenInvalidIdOrTokenResp

func GenInvalidIdOrTokenResp(token string, id string) string

GenInvalidIdOrTokenResp gets mock response for invalid service token or id

func GenInvalidUserKey

func GenInvalidUserKey(key string) string

GenInvalidUserKey gets mock response for invalid user key

func GetAuthSuccess

func GetAuthSuccess() string

GetAuthSuccess gets default success response for authorize endpoint

func GetHierarchyEnabledResponse added in v0.0.2

func GetHierarchyEnabledResponse() string

GetHierarchyEnabledResponse gets mock response with hierarchy extension enabled

func GetInvalidMetricResp

func GetInvalidMetricResp() string

GetInvalidMetricResp gets mock response for invalid metric

func GetLimitExceededResp

func GetLimitExceededResp() string

GetLimitExceededResp gets mock response for limit exceeded

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL