aksk

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 11 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"`
	SK     string            `json:"sk"`
	Labels map[string]string `json:"labels"`
	Expire int64             `json:"expire"`
}

type Config

type Config struct {
	Name            string       `json:"name"`
	Driver          string       `json:"driver"`
	HideCredentials bool         `json:"hide_credentials"`
	Users           []AKSKConfig `json:"user"`
}

Jump to

Keyboard shortcuts

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