renzhengshouquan

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthStatusList = map[AuthStatus]string{
	AuthCreate:  "create",
	AuthRequest: "request",
	AuthIssued:  "issued",
	AuthRevoked: "revoked",
}
View Source
var AuthTypeList = map[AuthType]string{
	AuthRoot:     "root",
	AuthCity:     "city",
	AuthPersonal: "personal",
	AuthService:  "service",
	AuthCompany:  "company",
	AuthSchool:   "school",
	AuthStreet:   "street",
}
View Source
var CertStatusList = map[CertStatus]string{
	CertUpload: "upload",
	CertVerify: "verify",
	CertCheck:  "check",
}
View Source
var OcrVendor interface {
	IDCard(m *ice.Message, arg ...string)
	BizLicense(m *ice.Message, arg ...string)
}
View Source
var RealnameVendor interface {
	Check(m *ice.Message, arg ...string)
}
View Source
var SmsVendor interface {
	Send(m *ice.Message, arg ...string)
}
View Source
var UserAuthRoleList = guanlixitong.UserGroupRoleList

Functions

This section is empty.

Types

type Auth added in v0.0.8

type Auth struct {
	Table
	// contains filtered or unexported fields
}

func (Auth) CertList added in v0.0.8

func (s Auth) CertList(m *ice.Message, arg ...string)

func (Auth) Issue added in v0.0.8

func (s Auth) Issue(m *ice.Message, arg ...string)

func (Auth) List added in v0.0.8

func (s Auth) List(m *ice.Message, arg ...string)

func (Auth) MemberList added in v0.0.8

func (s Auth) MemberList(m *ice.Message, arg ...string)

func (Auth) Remove added in v0.0.14

func (s Auth) Remove(m *ice.Message, arg ...string)

func (Auth) Revoke added in v0.0.8

func (s Auth) Revoke(m *ice.Message, arg ...string)

func (Auth) SelectList added in v0.0.8

func (s Auth) SelectList(m *ice.Message, arg ...string)

type AuthStatus

type AuthStatus int
const (
	AuthCreate AuthStatus = iota
	AuthRequest
	AuthIssued
	AuthRevoked
)

func (AuthStatus) String

func (s AuthStatus) String() string

type AuthType

type AuthType int
const (
	AuthRoot     AuthType = iota
	AuthCity              // 1
	AuthPersonal          // 2
	AuthService           // 3
	AuthCompany           // 4
	AuthSchool            // 5
	AuthStreet            // 6
)

func (AuthType) String

func (s AuthType) String() string

type CertStatus added in v0.0.14

type CertStatus int
const (
	CertUpload CertStatus = iota
	CertVerify
	CertCheck
)

func (CertStatus) String added in v0.0.14

func (s CertStatus) String() string

type Portal

type Portal struct {
	guanlixitong.Portal
	// contains filtered or unexported fields
}

func (Portal) List

func (s Portal) List(m *ice.Message, arg ...string)

func (Portal) PlaceCreate

func (s Portal) PlaceCreate(m *ice.Message, arg ...string)

func (Portal) PlaceList

func (s Portal) PlaceList(m *ice.Message, arg ...string) *ice.Message

type Table

type Table struct {
	guanlixitong.Table
	// contains filtered or unexported fields
}

func (Table) AuthList added in v0.0.14

func (s Table) AuthList(m *ice.Message, auth_uid string, cb func(value ice.Maps, auth bool))

func (Table) Config added in v0.0.14

func (s Table) Config(m *ice.Message, arg ...string)

func (Table) GetAuthUID added in v0.0.14

func (s Table) GetAuthUID(m *ice.Message, arg ...string) string

func (Table) Inputs

func (s Table) Inputs(m *ice.Message, arg ...string)

func (Table) RewriteAppend

func (s Table) RewriteAppend(m *ice.Message, arg ...string) *ice.Message

type Tables

type Tables struct{ Table }

func (Tables) BeforeMigrate

func (s Tables) BeforeMigrate(m *ice.Message, arg ...string)

type UserAuthRole

type UserAuthRole = guanlixitong.UserGroupRole

Jump to

Keyboard shortcuts

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