Created
August 17, 2021 01:33
-
-
Save sidneyw/052aa14eb1be33b9003bf3c6e3d40fb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Client interface { | |
GetValue(ctx context.Context, name Key, defaultValue interface{}) (interface{}, error) | |
GetIntValue(ctx context.Context, name Key, defaultValue int) (int, error) | |
GetIntArrayValue(ctx context.Context, name Key, defaultValue []int) ([]int, error) | |
GetBoolValue(ctx context.Context, name Key, defaultValue bool) (bool, error) | |
GetStringValue(ctx context.Context, name Key, defaultValue string) (string, error) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment