apisdk

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	KeyApiSdkAccessToken = "key:api:sdk:access_token"
	AuthGetAccessToken   = "/api/v2/auth/get-access-token"

	Users      = "/api/v2/users"
	UserUpdate = "/api/v2/user/update"
	UserDelete = "/api/v2/user/delete"

	UserCode                = "/api/v2/user/code"
	UserForgetResetPassword = "/api/v2/user/forget-reset-password"
	AuthCheckModifyPassword = "/api/v2/auth/check-modify-password"
	UserGetPassword         = "/api/v2/user/get-password"
	UserSuperResetPassword  = "/api/v2/user/super-reset-password"
	UserResetPassword       = "/api/v2/user/reset-password"

	UserView        = "/api/v2/user/view"
	UserSuperSearch = "/api/v2/user/super-search"
	UserSearch      = "/api/v2/user/search"

	UserUserStatusControl = "/api/v2/user/user-status-control"
	UserValidateUsers     = "/api/v2/user/validate-users"
	UserBalance           = "/api/v2/user/balance"
	UserSendCode          = "/api/v2/user/send-code"
	UserMaxOnlineNum      = "/api/v2/user/max-online-num"
	UserBindingPhone      = "/api/v2/user/binding-phone"

	// UserVisitors 访客相关
	UserVisitors      = "/api/v2/user/visitors"
	UserTokenVisitors = "/api/v2/user/token-visitors"

	// UserEventVisitors 事件访客
	UserEventVisitors         = "/api/v2/user/event-visitors"
	VisitorViewEventVisitor   = "/api/v2/visitor/view-event-visitor"
	VisitorCreateEventVisitor = "/api/v2/visitor/create-event-visitor"
	VisitorUpdateEventVisitor = "/api/v2/visitor/update-event-visitor"
	VisitorDeleteEventVisitor = "/api/v2/visitor/delete-event-visitor"

	// UserViewInvite 邀请码访客
	UserViewInvite     = "/api/v2/user/view-invite"
	UserInviteVisitors = "/api/v2/user/invite-visitors"
	UserUseInvite      = "/api/v2/user/use-invite"
	UserCreateInvite   = "/api/v2/user/create-invite"
	UserDisableInvite  = "/api/v2/user/disabled-invite"

	// VisitorCreateVisitorWhite 访客白名单
	VisitorCreateVisitorWhite = "/api/v2/visitor/create-visitor-white"
	VisitorDeleteVisitorWhite = "/api/v2/visitor/delete-visitor-white"

	// Groups 用户组相关
	Groups         = "/api/v2/groups"
	GroupSubscribe = "/api/v2/group/subscribe"

	// StrategyBillingCreate 计费策略相关
	StrategyBillingCreate = "/api/v2/strategy/billing-create"
	StrategyControlCreate = "/api/v2/strategy/control-create"
	ProductView           = "/api/v2/product/view"
	ProductCreate         = "/api/v2/product/create"
	ProductDelete         = "/api/v2/product/delete"
	ProductUpdate         = "/api/v2/product/update"
	ProductIndex          = "/api/v2/product/index"

	// FinancialRechargeWallet 财务相关
	FinancialRechargeWallet        = "/api/v2/financial/recharge-wallet"
	FinancialPayType               = "/api/v2/financial/pay-type"
	FinancialCreatePayment         = "/api/v2/financial/create-payment"
	FinancialDeletePayment         = "/api/v2/financial/delete-payment"
	FinancialUpdatePayment         = "/api/v2/financial/update-payment"
	FinancialExtraPay              = "/api/v2/financial/extra-pay"
	FinancialTransfer              = "/api/v2/financial/transfer"
	FinancialRechargeCards         = "/api/v2/financial/recharge-cards"
	FinancialPaymentRecords        = "/api/v2/financial/payment-records"
	FinancialPaymentOverview       = "/api/v2/financial/payment-overview"
	FinancialPaymentDataSync       = "/api/v2/financial/payment-data-sync"
	FinancialRefund                = "/api/v2/financial/refund"
	FinancialPackageRechargeRecord = "/api/v2/financial/package-recharge-record"
	CheckoutListDetail             = "/api/v2/checkoutlist/detail"

	// ProductProductRecharge 产品相关
	ProductProductRecharge                   = "/api/v2/product/product-recharge"
	ProductRecharge                          = "/api/v2/product/recharge"
	ProductUseNumber                         = "/api/v2/product/use-number"
	ProductSubscribe                         = "/api/v2/product/subscribe"
	ProductCanSubscribeProducts              = "/api/v2/product/can-subscribe-products"
	ProductCancel                            = "/api/v2/product/cancel"
	ProductRefund                            = "/api/v2/product/refund"
	ProductExpire                            = "/api/v2/product/expire"
	ProductDisableProduct                    = "/api/v2/product/disable-product"
	ProductEnableProduct                     = "/api/v2/product/enable-product"
	ProductNextBillingCycle                  = "/api/v2/product/next-billing-cycle"
	ProductTransferProduct                   = "/api/v2/product/transfer-product"
	ProductReservationTransferProducts       = "/api/v2/product/reservation-transfer-products"
	ProductCancelReservationTransferProducts = "/api/v2/product/cancel-reservation-transfer-products"

	// PackageUsersPackages 套餐相关
	PackageUsersPackages = "/api/v2/package/users-packages"
	PackageBuy           = "/api/v2/package/buy"
	PackageBuySuper      = "/api/v2/package/buy-super"
	Packages             = "/api/v2/packages"
	PackageBuys          = "/api/v2/package/buys"
	PackageBatch         = "/api/v2/package/batch"

	// UserSearchMobilePhone 运营商相关
	UserSearchMobilePhone = "/api/v2/user/search-mobile-phone"
	ProductCheckOperators = "/api/v2/product/check-operators"
	ProductOperators      = "/api/v2/product/operators"

	// BaseListMacAuth 无感知相关
	BaseListMacAuth   = "/api/v2/base/list-mac-auth"
	BaseCreateMacAuth = "/api/v2/base/create-mac-auth"
	BaseDeleteMacAuth = "/api/v2/base/delete-mac-auth"
	BaseUpdateMacAuth = "/api/v2/base/update-mac-auth"
	BasePhoneAuth     = "/api/v2/base/phone-auth"
	BaseMacs          = "/api/v2/base/macs"
	BaseCreateMac     = "/api/v2/base/create-mac"
	BaseDeleteMac     = "/api/v2/base/delete-mac"
	BaseUpdateMac     = "/api/v2/base/update-mac"
	BaseUpdateVlan    = "/api/v2/base/update-vlan"
	BaseGetIp         = "/api/v2/base/get-ip"
	BaseBindIp        = "/api/v2/base/bind-ip"

	// BaseOnlineDrop 在线相关
	BaseOnlineDrop      = "/api/v2/base/online-drop"
	BaseBatchOnlineDrop = "/api/v2/base/batch-online-drop"
	Auth                = "/api/v2/auth"
	BaseOnlineEquipment = "/api/v2/base/online-equipment"
	BaseOnlineData      = "/api/v2/base/online-data"

	// Details 上网明细相关
	Details   = "/api/v2/details"
	DetailTop = "/api/v2/detail/top"

	// MessageNew 通知公告相关
	MessageNew    = "/api/v2/message/new-message"
	Message       = "/api/v2/message"
	MessageNotice = "/api/v2/message/notice"

	// UserValidateManager 管理员相关
	UserValidateManager           = "/api/v2/user/validate-manager"
	UserAddManager                = "/api/v2/user/add-manager"
	UserResetPasswordManager      = "/api/v2/user/reset-password-manager"
	UserSuperResetPasswordManager = "/api/v2/user/super-reset-password-manager"

	// LogLogin 日志相关
	LogLogin            = "/api/v2/log/login"
	LogAuthErr          = "/api/v2/log/auth-err"
	LogAuthErrorTotal   = "/api/v2/log/auth-error-total"
	LogSys              = "/api/v2/log/sys"
	StatisticsDayByte   = "/api/v2/statistics/day-byte"
	StatisticsDayTime   = "/api/v2/statistics/day-time"
	StatisticsMonthByte = "/api/v2/statistics/month-byte"
	FlowSearch          = "/api/v2/flow/search"
	AuditSearch         = "/api/v2/audit/search"

	// SafeDisable 上网设备相关
	SafeDisable = "/api/v2/safe/disable"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiConfig

type ApiConfig struct {
	AppID     string
	AppSecret string
	Scheme    string
	Host      string
	Port      int
	Version   int
	Request
}

func (*ApiConfig) ApiCall

func (ac *ApiConfig) ApiCall() Response

ApiCall API调用

func (*ApiConfig) AuditSearch

func (ac *ApiConfig) AuditSearch() Response

func (*ApiConfig) Auth

func (ac *ApiConfig) Auth() Response

func (*ApiConfig) AuthCheckModifyPassword

func (ac *ApiConfig) AuthCheckModifyPassword() Response

func (*ApiConfig) BaseBatchOnlineDrop

func (ac *ApiConfig) BaseBatchOnlineDrop() Response

func (*ApiConfig) BaseBindIp

func (ac *ApiConfig) BaseBindIp() Response

func (*ApiConfig) BaseCreateMac

func (ac *ApiConfig) BaseCreateMac() Response

func (*ApiConfig) BaseCreateMacAuth

func (ac *ApiConfig) BaseCreateMacAuth() Response

func (*ApiConfig) BaseDeleteMac

func (ac *ApiConfig) BaseDeleteMac() Response

func (*ApiConfig) BaseDeleteMacAuth

func (ac *ApiConfig) BaseDeleteMacAuth() Response

func (*ApiConfig) BaseGetIp

func (ac *ApiConfig) BaseGetIp() Response

func (*ApiConfig) BaseListMacAuth

func (ac *ApiConfig) BaseListMacAuth() Response

func (*ApiConfig) BaseMacs

func (ac *ApiConfig) BaseMacs() Response

func (*ApiConfig) BaseOnlineData

func (ac *ApiConfig) BaseOnlineData() Response

func (*ApiConfig) BaseOnlineDrop

func (ac *ApiConfig) BaseOnlineDrop() Response

func (*ApiConfig) BaseOnlineEquipment

func (ac *ApiConfig) BaseOnlineEquipment() Response

func (*ApiConfig) BasePhoneAuth

func (ac *ApiConfig) BasePhoneAuth() Response

func (*ApiConfig) BaseUpdateMac

func (ac *ApiConfig) BaseUpdateMac() Response

func (*ApiConfig) BaseUpdateMacAuth

func (ac *ApiConfig) BaseUpdateMacAuth() Response

func (*ApiConfig) BaseUpdateVlan

func (ac *ApiConfig) BaseUpdateVlan() Response

func (*ApiConfig) CheckoutListDetail

func (ac *ApiConfig) CheckoutListDetail() Response

func (*ApiConfig) DetailTop

func (ac *ApiConfig) DetailTop() Response

func (*ApiConfig) Details

func (ac *ApiConfig) Details() Response

func (*ApiConfig) FinancialCreatePayment

func (ac *ApiConfig) FinancialCreatePayment() Response

func (*ApiConfig) FinancialDeletePayment

func (ac *ApiConfig) FinancialDeletePayment() Response

func (*ApiConfig) FinancialExtraPay

func (ac *ApiConfig) FinancialExtraPay() Response

func (*ApiConfig) FinancialPackageRechargeRecord

func (ac *ApiConfig) FinancialPackageRechargeRecord() Response

func (*ApiConfig) FinancialPayType

func (ac *ApiConfig) FinancialPayType() Response

func (*ApiConfig) FinancialPaymentDataSync

func (ac *ApiConfig) FinancialPaymentDataSync() Response

func (*ApiConfig) FinancialPaymentOverview

func (ac *ApiConfig) FinancialPaymentOverview() Response

func (*ApiConfig) FinancialPaymentRecords

func (ac *ApiConfig) FinancialPaymentRecords() Response

func (*ApiConfig) FinancialRechargeCards

func (ac *ApiConfig) FinancialRechargeCards() Response

func (*ApiConfig) FinancialRechargeWallet

func (ac *ApiConfig) FinancialRechargeWallet() Response

func (*ApiConfig) FinancialRefund

func (ac *ApiConfig) FinancialRefund() Response

func (*ApiConfig) FinancialTransfer

func (ac *ApiConfig) FinancialTransfer() Response

func (*ApiConfig) FinancialUpdatePayment

func (ac *ApiConfig) FinancialUpdatePayment() Response

func (*ApiConfig) FlowSearch

func (ac *ApiConfig) FlowSearch() Response

func (*ApiConfig) GetAccessToken

func (ac *ApiConfig) GetAccessToken() string

GetAccessToken 获取令牌 /**

func (*ApiConfig) GroupSubscribe

func (ac *ApiConfig) GroupSubscribe() Response

func (*ApiConfig) Groups

func (ac *ApiConfig) Groups() Response

func (*ApiConfig) GroupsCreate

func (ac *ApiConfig) GroupsCreate() Response

func (*ApiConfig) LogAuthErr

func (ac *ApiConfig) LogAuthErr() Response

func (*ApiConfig) LogAuthErrorTotal

func (ac *ApiConfig) LogAuthErrorTotal() Response

func (*ApiConfig) LogLogin

func (ac *ApiConfig) LogLogin() Response

func (*ApiConfig) LogSys

func (ac *ApiConfig) LogSys() Response

func (*ApiConfig) Message

func (ac *ApiConfig) Message() Response

func (*ApiConfig) MessageNew

func (ac *ApiConfig) MessageNew() Response

func (*ApiConfig) MessageNotice

func (ac *ApiConfig) MessageNotice() Response

func (*ApiConfig) ProductCanSubscribeProducts

func (ac *ApiConfig) ProductCanSubscribeProducts() Response

func (*ApiConfig) ProductCancel

func (ac *ApiConfig) ProductCancel() Response

func (*ApiConfig) ProductCancelReservationTransferProducts

func (ac *ApiConfig) ProductCancelReservationTransferProducts() Response

func (*ApiConfig) ProductCheckOperators

func (ac *ApiConfig) ProductCheckOperators() Response

func (*ApiConfig) ProductCreate

func (ac *ApiConfig) ProductCreate() Response

func (*ApiConfig) ProductDelete

func (ac *ApiConfig) ProductDelete() Response

func (*ApiConfig) ProductDisableProduct

func (ac *ApiConfig) ProductDisableProduct() Response

func (*ApiConfig) ProductEnableProduct

func (ac *ApiConfig) ProductEnableProduct() Response

func (*ApiConfig) ProductExpire

func (ac *ApiConfig) ProductExpire() Response

func (*ApiConfig) ProductIndex

func (ac *ApiConfig) ProductIndex() Response

func (*ApiConfig) ProductNextBillingCycle

func (ac *ApiConfig) ProductNextBillingCycle() Response

func (*ApiConfig) ProductOperators

func (ac *ApiConfig) ProductOperators() Response

func (*ApiConfig) ProductProductRecharge

func (ac *ApiConfig) ProductProductRecharge() Response

func (*ApiConfig) ProductRecharge

func (ac *ApiConfig) ProductRecharge() Response

func (*ApiConfig) ProductRefund

func (ac *ApiConfig) ProductRefund() Response

func (*ApiConfig) ProductReservationTransferProducts

func (ac *ApiConfig) ProductReservationTransferProducts() Response

func (*ApiConfig) ProductSubscribe

func (ac *ApiConfig) ProductSubscribe() Response

func (*ApiConfig) ProductTransferProduct

func (ac *ApiConfig) ProductTransferProduct() Response

func (*ApiConfig) ProductUpdate

func (ac *ApiConfig) ProductUpdate() Response

func (*ApiConfig) ProductUseNumber

func (ac *ApiConfig) ProductUseNumber() Response

func (*ApiConfig) ProductView

func (ac *ApiConfig) ProductView() Response

func (*ApiConfig) SafeDisable added in v1.0.4

func (ac *ApiConfig) SafeDisable() Response

func (*ApiConfig) StatisticsDayByte

func (ac *ApiConfig) StatisticsDayByte() Response

func (*ApiConfig) StatisticsDayTime

func (ac *ApiConfig) StatisticsDayTime() Response

func (*ApiConfig) StatisticsMonthByte

func (ac *ApiConfig) StatisticsMonthByte() Response

func (*ApiConfig) StrategyBillingCreate

func (ac *ApiConfig) StrategyBillingCreate() Response

func (*ApiConfig) StrategyControlCreate

func (ac *ApiConfig) StrategyControlCreate() Response

func (*ApiConfig) UserAddManager

func (ac *ApiConfig) UserAddManager() Response

func (*ApiConfig) UserBalance

func (ac *ApiConfig) UserBalance() Response

func (*ApiConfig) UserBindingPhone

func (ac *ApiConfig) UserBindingPhone() Response

func (*ApiConfig) UserCode

func (ac *ApiConfig) UserCode() Response

func (*ApiConfig) UserCreateInvite

func (ac *ApiConfig) UserCreateInvite() Response

func (*ApiConfig) UserDelete

func (ac *ApiConfig) UserDelete() Response

func (*ApiConfig) UserDisabledInvite

func (ac *ApiConfig) UserDisabledInvite() Response

func (*ApiConfig) UserEventVisitors

func (ac *ApiConfig) UserEventVisitors() Response

func (*ApiConfig) UserForgetResetPassword

func (ac *ApiConfig) UserForgetResetPassword() Response

func (*ApiConfig) UserGetPassword

func (ac *ApiConfig) UserGetPassword() Response

func (*ApiConfig) UserInviteVisitors

func (ac *ApiConfig) UserInviteVisitors() Response

func (*ApiConfig) UserMaxOnlineNum

func (ac *ApiConfig) UserMaxOnlineNum() Response

func (*ApiConfig) UserResetPassword

func (ac *ApiConfig) UserResetPassword() Response

func (*ApiConfig) UserResetPasswordManager

func (ac *ApiConfig) UserResetPasswordManager() Response

func (*ApiConfig) UserSearch

func (ac *ApiConfig) UserSearch() Response

func (*ApiConfig) UserSearchMobilePhone

func (ac *ApiConfig) UserSearchMobilePhone() Response

func (*ApiConfig) UserSendCode

func (ac *ApiConfig) UserSendCode() Response

func (*ApiConfig) UserSuperResetPassword

func (ac *ApiConfig) UserSuperResetPassword() Response

func (*ApiConfig) UserSuperResetPasswordManager

func (ac *ApiConfig) UserSuperResetPasswordManager() Response

func (*ApiConfig) UserSuperSearch

func (ac *ApiConfig) UserSuperSearch() Response

func (*ApiConfig) UserTokenVisitors

func (ac *ApiConfig) UserTokenVisitors() Response

func (*ApiConfig) UserUpdate

func (ac *ApiConfig) UserUpdate() Response

func (*ApiConfig) UserUseInvite

func (ac *ApiConfig) UserUseInvite() Response

func (*ApiConfig) UserUserStatusControl

func (ac *ApiConfig) UserUserStatusControl() Response

func (*ApiConfig) UserValidateManager

func (ac *ApiConfig) UserValidateManager() Response

func (*ApiConfig) UserValidateUsers

func (ac *ApiConfig) UserValidateUsers() Response

func (*ApiConfig) UserView

func (ac *ApiConfig) UserView() Response

func (*ApiConfig) UserViewInvite

func (ac *ApiConfig) UserViewInvite() Response

func (*ApiConfig) UserVisitors

func (ac *ApiConfig) UserVisitors() Response

func (*ApiConfig) Users

func (ac *ApiConfig) Users() Response

func (*ApiConfig) VisitorCreateEventVisitor

func (ac *ApiConfig) VisitorCreateEventVisitor() Response

func (*ApiConfig) VisitorCreateVisitorWhite

func (ac *ApiConfig) VisitorCreateVisitorWhite() Response

func (*ApiConfig) VisitorDeleteEventVisitor

func (ac *ApiConfig) VisitorDeleteEventVisitor() Response

func (*ApiConfig) VisitorDeleteVisitorWhite

func (ac *ApiConfig) VisitorDeleteVisitorWhite() Response

func (*ApiConfig) VisitorUpdateEventVisitor

func (ac *ApiConfig) VisitorUpdateEventVisitor() Response

func (*ApiConfig) VisitorViewEventVisitor

func (ac *ApiConfig) VisitorViewEventVisitor() Response

type BaseAuth

type BaseAuth interface {
	BaseListMacAuth() Response
	BaseCreateMacAuth() Response
	BaseDeleteMacAuth() Response
	BaseUpdateMacAuth() Response
	BasePhoneAuth() Response
	BaseMacs() Response
	BaseCreateMac() Response
	BaseDeleteMac() Response
	BaseUpdateMac() Response
	BaseUpdateVlan() Response
	BaseGetIp() Response
	BaseBindIp() Response
	BaseOnlineDrop() Response
	BaseBatchOnlineDrop() Response
	Auth() Response
	BaseOnlineEquipment() Response
	BaseOnlineData() Response
}

type Cache

type Cache interface {
	GetCache(key string) string
	SetCache(key, value string, expireAt float64)
}

func Component

func Component() Cache

Component 组件,返回cache组件接口

type Detail

type Detail interface {
	Details() Response
	DetailTop() Response
}

type Financial

type Financial interface {
	FinancialRechargeWallet() Response
	FinancialPayType() Response
	FinancialCreatePayment() Response
	FinancialDeletePayment() Response
	FinancialUpdatePayment() Response
	FinancialExtraPay() Response
	FinancialTransfer() Response
	FinancialRechargeCards() Response
	FinancialPaymentDataSync() Response
	CheckoutListDetail() Response
	FinancialPaymentRecords() Response
	FinancialPaymentOverview() Response
	FinancialRefund() Response
	FinancialPackageRechargeRecord() Response
}

type Group

type Group interface {
	Groups() Response
	GroupSubscribe() Response
	GroupsCreate() Response
}

type HTTPClient

type HTTPClient interface {
	DoRequest(method, urlPath string, data url.Values) (Response, error)
}

HTTPClient 定义HTTP请求接口

type HttpClient

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

func (*HttpClient) DoRequest

func (c *HttpClient) DoRequest(ac *ApiConfig) (Response, error)

DoRequest 发起请求

type Logs

type Logs interface {
	LogLogin() Response
	LogAuthErr() Response
	LogAuthErrorTotal() Response
	LogSys() Response
	StatisticsDayByte() Response
	StatisticsDayTime() Response
	StatisticsMonthByte() Response
	FlowSearch() Response
	AuditSearch() Response
}

type Manage

type Manage interface {
	UserValidateManager() Response
	UserAddManager() Response
	UserResetPasswordManager() Response
	UserSuperResetPasswordManager() Response
}

type Messages

type Messages interface {
	MessageNew() Response
	Message() Response
	MessageNotice() Response
}

type Operator

type Operator interface {
	UserSearchMobilePhone() Response
	ProductCheckOperators() Response
	ProductOperators() Response
}

type Product

type Product interface {
	ProductView() Response
	ProductCreate() Response
	ProductDelete() Response
	ProductUpdate() Response
	ProductIndex() Response
	ProductNextBillingCycle() Response
	ProductTransferProduct() Response
	ProductReservationTransferProducts() Response
	ProductCancelReservationTransferProducts() Response
	ProductProductRecharge() Response
	ProductRecharge() Response
	ProductUseNumber() Response
	ProductSubscribe() Response
	ProductCanSubscribeProducts() Response
	ProductCancel() Response
	ProductRefund() Response
	ProductExpire() Response
	ProductDisableProduct() Response
	ProductEnableProduct() Response
}

type Request

type Request struct {
	Params  url.Values
	Method  string
	UrlPath string
}

func NewRequest

func NewRequest() *Request

type Response

type Response struct {
	Code    int
	Message string
	Version string
	Data    interface{}
}

func NewResponse

func NewResponse() *Response

type SDK

type SDK interface {
	GetAccessToken() string
	ApiCall() Response
}

type Safe added in v1.0.4

type Safe interface {
	SafeDisable() Response
}

type Strategy

type Strategy interface {
	StrategyBillingCreate() Response
	StrategyControlCreate() Response
}

type SyncMapCache

type SyncMapCache struct {
	sync.Map
	sync.RWMutex
}

func (*SyncMapCache) GetCache

func (c *SyncMapCache) GetCache(key string) string

GetCache 从 sync.Map 缓存中获取值

func (*SyncMapCache) SetCache

func (c *SyncMapCache) SetCache(key, value string, expireAt float64)

SetCache 向 sync.Map 缓存中设置值

type User

type User interface {
	Users() Response
	UserUpdate() Response
	UserDelete() Response
	UserUserStatusControl() Response
	UserValidateUsers() Response
	UserBalance() Response
	UserSendCode() Response
	UserMaxOnlineNum() Response
	UserBindingPhone() Response
	UserCode() Response
	UserForgetResetPassword() Response
	AuthCheckModifyPassword() Response
	UserGetPassword() Response
	UserSuperResetPassword() Response
	UserResetPassword() Response
	UserView() Response
	UserSuperSearch() Response
	UserSearch() Response
}

type Visitor

type Visitor interface {
	UserVisitors() Response
	UserTokenVisitors() Response
	UserEventVisitors() Response
	VisitorViewEventVisitor() Response
	VisitorCreateEventVisitor() Response
	VisitorUpdateEventVisitor() Response
	VisitorDeleteEventVisitor() Response
	UserViewInvite() Response
	UserInviteVisitors() Response
	UserUseInvite() Response
	UserCreateInvite() Response
	UserDisabledInvite() Response
	VisitorCreateVisitorWhite() Response
	VisitorDeleteVisitorWhite() Response
}

Source Files

  • basic.go
  • cache.go
  • http_client.go
  • models.go
  • request.go
  • response.go
  • sdk_baseauth.go
  • sdk_detail.go
  • sdk_financial.go
  • sdk_group.go
  • sdk_logs.go
  • sdk_manage.go
  • sdk_message.go
  • sdk_operator.go
  • sdk_product.go
  • sdk_safe.go
  • sdk_strategy.go
  • sdk_user.go
  • sdk_visitor.go

Jump to

Keyboard shortcuts

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