safe

package
v0.0.0-...-8227b98 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package safe ...

Description : 按需返回对外暴露的字段

Author : go_developer@163.com<张德满>

Date : 2021-03-10 6:38 下午

Package safe...

Description : 安全策略之,访问黑名单

Author : go_developer@163.com<张德满>

Date : 2021-03-07 11:34 下午

Index

Constants

This section is empty.

Variables

View Source
var IPBlack *ipBlack

IPBlack ip黑名单

Author : go_developer@163.com<张德满>

Date : 11:35 下午 2021/3/7

Functions

func Filter

func Filter(source []byte, filter []string) ([]byte, error)

Filter 按需输出数据

Author : go_developer@163.com<张德满>

Date : 6:40 下午 2021/3/10

func InitIPBlack

func InitIPBlack(ipList []string) error

InitIPBlack 初始化ip黑名单

Author : go_developer@163.com<张德满>

Date : 11:36 下午 2021/3/7

func InitIPBlackWithSeg

func InitIPBlackWithSeg(seg int, ipList []string) error

InitIPBlackWithSeg ip黑名单分片存储

Author : go_developer@163.com<张德满>

Date : 11:37 下午 2021/3/7

Types

This section is empty.

Jump to

Keyboard shortcuts

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