package
1.18.1
Repository: https://github.com/polarismesh/polaris.git
Documentation: pkg.go.dev

# README

对Auth的API的mock

mock文件生成方法

mockgen -source=api.go -destination=./mock/api_mock.go -package=mock

# Functions

NewMockAuthChecker creates a new mock instance.
NewMockAuthServer creates a new mock instance.
NewMockGroupOperator creates a new mock instance.
NewMockStrategyServer creates a new mock instance.
NewMockUserServer creates a new mock instance.

# Structs

MockAuthChecker is a mock of AuthChecker interface.
MockAuthCheckerMockRecorder is the mock recorder for MockAuthChecker.
MockAuthServer is a mock of AuthServer interface.
MockAuthServerMockRecorder is the mock recorder for MockAuthServer.
MockGroupOperator is a mock of GroupOperator interface.
MockGroupOperatorMockRecorder is the mock recorder for MockGroupOperator.
MockStrategyServer is a mock of StrategyServer interface.
MockStrategyServerMockRecorder is the mock recorder for MockStrategyServer.
MockUserServer is a mock of UserServer interface.
MockUserServerMockRecorder is the mock recorder for MockUserServer.