aksk

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() eosc.IExtenderDriverFactory

NewFactory 创建aksk鉴权驱动工厂

func Register

func Register(register eosc.IExtenderDriverRegister)

Register 注册aksk鉴权驱动工厂

Types

type AKSKConfig

type AKSKConfig struct {
	AK     string            `json:"ak" label:"Access Key" nullable:"false"`
	SK     string            `json:"sk" label:"Secret Access Key" nullable:"false"`
	Labels map[string]string `json:"labels" label:"用户标签"`
	Expire int64             `json:"expire" format:"date-time" label:"过期时间"`
}

type Config

type Config struct {
	HideCredentials bool         `json:"hide_credentials" label:"是否隐藏证书"`
	Users           []AKSKConfig `json:"user" label:"用户列表"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL