Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
16 lines
360 B
Text
16 lines
360 B
Text
package testpkg
|
|||
|
|||
import "context"
|
|||
|
|||
//nd:hostservice name=Config permission=config
|
|||
type ConfigService interface {
|
|||
//nd:hostfunc
|
|||
Get(ctx context.Context, key string) (value string, exists bool, err error)
|
|||
|
|||
//nd:hostfunc
|
|||
Set(ctx context.Context, key string, value string) error
|
|||
|
|||
//nd:hostfunc
|
|||
Has(ctx context.Context, key string) (exists bool, err error)
|
|||
}
|