gatewayconfig

package
v0.0.0-...-7553a0f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayConfig

type GatewayConfig struct {
	AppId         string `json:"appId"`
	AppName       string `json:"appName"`
	AesKey        string `json:"aesKey"`
	AesType       string `json:"aesType"`
	RsaPublicKey  string `json:"rsaPublicKey"`
	RsaPrivateKey string `json:"rsaPrivateKey"`
	SignType      string `json:"signType"`
	IsEnable      int    `json:"isEnable"`
}

type GatewayConfigCache

type GatewayConfigCache struct {
	// contains filtered or unexported fields
}

func GetGatewayConfigCache

func GetGatewayConfigCache() *GatewayConfigCache

func (*GatewayConfigCache) ClearCache

func (*GatewayConfigCache) ClearCache()

func (*GatewayConfigCache) DeleteCache

func (*GatewayConfigCache) DeleteCache(appId string)

func (*GatewayConfigCache) GetCache

func (*GatewayConfigCache) GetCache(appId string) (GatewayConfig, bool)

func (*GatewayConfigCache) Listen

func (g *GatewayConfigCache) Listen(group, dataId, data string)

func (*GatewayConfigCache) PutCache

func (*GatewayConfigCache) PutCache(gatewayConfig GatewayConfig)

func (*GatewayConfigCache) RefreshCache

func (g *GatewayConfigCache) RefreshCache()

func (*GatewayConfigCache) ToJson

func (*GatewayConfigCache) ToJson() string

Jump to

Keyboard shortcuts

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