1 Star 0 Fork 0

ryancartoon / sensu-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
authentication.go 441 Bytes
一键复制 编辑 原始数据 按行查看 历史
package mockstore
//// Authentication
// CreateJWTSecret ...
func (s *MockStore) CreateJWTSecret(secret []byte) error {
args := s.Called()
return args.Error(0)
}
// GetJWTSecret ...
func (s *MockStore) GetJWTSecret() ([]byte, error) {
args := s.Called()
return []byte(args.String(0)), args.Error(1)
}
// UpdateJWTSecret ...
func (s *MockStore) UpdateJWTSecret(secret []byte) error {
args := s.Called(secret)
return args.Error(0)
}
1
https://gitee.com/ryancartoon/sensu-go.git
git@gitee.com:ryancartoon/sensu-go.git
ryancartoon
sensu-go
sensu-go
v5.10.1

搜索帮助

53164aa7 5694891 3bd8fe86 5694891