package
0.2.0-alpha.14
Repository: https://github.com/onexstack/onex.git
Documentation: pkg.go.dev

# Functions

用户已存在错误.
创建用户失败错误.
用户登录失败,可能是用户名或密码不对.
用户未找到错误.
用户已存在错误.
创建用户失败错误.
用户登录失败,可能是用户名或密码不对.
用户未找到错误.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

用户已存在错误.
创建用户失败错误.
用户登录失败,可能是用户名或密码不对.
用户未找到错误.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Enum value maps for ErrorReason.
Enum value maps for ErrorReason.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service.

# Structs

CreateMinerRequest represents the request message for creating a new miner.
CreateMinerRequestValidationError is the validation error returned by CreateMinerRequest.Validate if the designated constraints aren't met.
CreateMinerSetRequest represents the request message for creating a new minerset.
CreateMinerSetRequestValidationError is the validation error returned by CreateMinerSetRequest.Validate if the designated constraints aren't met.
DeleteMinerRequest represents the request message for deleting one or more miners.
DeleteMinerRequestValidationError is the validation error returned by DeleteMinerRequest.Validate if the designated constraints aren't met.
DeleteMinerResponse represents the response message for a successful miner deletion.
DeleteMinerResponseValidationError is the validation error returned by DeleteMinerResponse.Validate if the designated constraints aren't met.
DeleteMinerSetRequest represents the request message for deleting one or more minersets.
DeleteMinerSetRequestValidationError is the validation error returned by DeleteMinerSetRequest.Validate if the designated constraints aren't met.
DeleteMinerSetResponse represents the response message for a successful minerset deletion.
DeleteMinerSetResponseValidationError is the validation error returned by DeleteMinerSetResponse.Validate if the designated constraints aren't met.
No description provided by the author
GetMinerRequest represents the request message for retrieving a specific miner.
GetMinerRequestValidationError is the validation error returned by GetMinerRequest.Validate if the designated constraints aren't met.
GetMinerResponse represents the response message for a successful retrieval of a miner.
GetMinerResponseValidationError is the validation error returned by GetMinerResponse.Validate if the designated constraints aren't met.
GetMinerSetRequest represents the request message for retrieving a specific minerset.
GetMinerSetRequestValidationError is the validation error returned by GetMinerSetRequest.Validate if the designated constraints aren't met.
GetMinerSetResponse represents the response message for a successful retrieval of a minerset.
GetMinerSetResponseValidationError is the validation error returned by GetMinerSetResponse.Validate if the designated constraints aren't met.
No description provided by the author
GetVersionRequestValidationError is the validation error returned by GetVersionRequest.Validate if the designated constraints aren't met.
No description provided by the author
GetVersionResponseValidationError is the validation error returned by GetVersionResponse.Validate if the designated constraints aren't met.
No description provided by the author
IdempotentRequestValidationError is the validation error returned by IdempotentRequest.Validate if the designated constraints aren't met.
No description provided by the author
IdempotentResponseValidationError is the validation error returned by IdempotentResponse.Validate if the designated constraints aren't met.
ListMinerRequest represents the request message for listing miners with pagination and optional filters.
ListMinerRequestValidationError is the validation error returned by ListMinerRequest.Validate if the designated constraints aren't met.
ListMinerResponse represents the response message for listing miners.
ListMinerResponseValidationError is the validation error returned by ListMinerResponse.Validate if the designated constraints aren't met.
ListMinerSetRequest represents the request message for listing minersets with pagination and optional filters.
ListMinerSetRequestValidationError is the validation error returned by ListMinerSetRequest.Validate if the designated constraints aren't met.
ListMinerSetResponse represents the response message for listing minersets.
ListMinerSetResponseValidationError is the validation error returned by ListMinerSetResponse.Validate if the designated constraints aren't met.
Miner represents a miner with its metadata.
MinerSet represents a minerset with its metadata.
MinerSetValidationError is the validation error returned by MinerSet.Validate if the designated constraints aren't met.
No description provided by the author
MinerTemplateValidationError is the validation error returned by MinerTemplate.Validate if the designated constraints aren't met.
MinerValidationError is the validation error returned by Miner.Validate if the designated constraints aren't met.
No description provided by the author
ScaleMinerSetRequestValidationError is the validation error returned by ScaleMinerSetRequest.Validate if the designated constraints aren't met.
No description provided by the author
ScaleMinerSetResponseValidationError is the validation error returned by ScaleMinerSetResponse.Validate if the designated constraints aren't met.
UnimplementedGatewayServer must be embedded to have forward compatible implementations.
UpdateMinerRequest represents the request message for updating an existing miner.
UpdateMinerRequestValidationError is the validation error returned by UpdateMinerRequest.Validate if the designated constraints aren't met.
UpdateMinerSetRequest represents the request message for updating an existing minerset.
UpdateMinerSetRequestValidationError is the validation error returned by UpdateMinerSetRequest.Validate if the designated constraints aren't met.

# Interfaces

GatewayClient is the client API for Gateway service.
No description provided by the author
No description provided by the author
GatewayServer is the server API for Gateway service.
UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

CreateMinerRequestMultiError is an error wrapping multiple validation errors returned by CreateMinerRequest.ValidateAll() if the designated constraints aren't met.
CreateMinerSetRequestMultiError is an error wrapping multiple validation errors returned by CreateMinerSetRequest.ValidateAll() if the designated constraints aren't met.
DeleteMinerRequestMultiError is an error wrapping multiple validation errors returned by DeleteMinerRequest.ValidateAll() if the designated constraints aren't met.
DeleteMinerResponseMultiError is an error wrapping multiple validation errors returned by DeleteMinerResponse.ValidateAll() if the designated constraints aren't met.
DeleteMinerSetRequestMultiError is an error wrapping multiple validation errors returned by DeleteMinerSetRequest.ValidateAll() if the designated constraints aren't met.
DeleteMinerSetResponseMultiError is an error wrapping multiple validation errors returned by DeleteMinerSetResponse.ValidateAll() if the designated constraints aren't met.
No description provided by the author
GetMinerRequestMultiError is an error wrapping multiple validation errors returned by GetMinerRequest.ValidateAll() if the designated constraints aren't met.
GetMinerResponseMultiError is an error wrapping multiple validation errors returned by GetMinerResponse.ValidateAll() if the designated constraints aren't met.
GetMinerSetRequestMultiError is an error wrapping multiple validation errors returned by GetMinerSetRequest.ValidateAll() if the designated constraints aren't met.
GetMinerSetResponseMultiError is an error wrapping multiple validation errors returned by GetMinerSetResponse.ValidateAll() if the designated constraints aren't met.
GetVersionRequestMultiError is an error wrapping multiple validation errors returned by GetVersionRequest.ValidateAll() if the designated constraints aren't met.
GetVersionResponseMultiError is an error wrapping multiple validation errors returned by GetVersionResponse.ValidateAll() if the designated constraints aren't met.
IdempotentRequestMultiError is an error wrapping multiple validation errors returned by IdempotentRequest.ValidateAll() if the designated constraints aren't met.
IdempotentResponseMultiError is an error wrapping multiple validation errors returned by IdempotentResponse.ValidateAll() if the designated constraints aren't met.
ListMinerRequestMultiError is an error wrapping multiple validation errors returned by ListMinerRequest.ValidateAll() if the designated constraints aren't met.
ListMinerResponseMultiError is an error wrapping multiple validation errors returned by ListMinerResponse.ValidateAll() if the designated constraints aren't met.
ListMinerSetRequestMultiError is an error wrapping multiple validation errors returned by ListMinerSetRequest.ValidateAll() if the designated constraints aren't met.
ListMinerSetResponseMultiError is an error wrapping multiple validation errors returned by ListMinerSetResponse.ValidateAll() if the designated constraints aren't met.
MinerMultiError is an error wrapping multiple validation errors returned by Miner.ValidateAll() if the designated constraints aren't met.
MinerSetMultiError is an error wrapping multiple validation errors returned by MinerSet.ValidateAll() if the designated constraints aren't met.
MinerTemplateMultiError is an error wrapping multiple validation errors returned by MinerTemplate.ValidateAll() if the designated constraints aren't met.
ScaleMinerSetRequestMultiError is an error wrapping multiple validation errors returned by ScaleMinerSetRequest.ValidateAll() if the designated constraints aren't met.
ScaleMinerSetResponseMultiError is an error wrapping multiple validation errors returned by ScaleMinerSetResponse.ValidateAll() if the designated constraints aren't met.
UpdateMinerRequestMultiError is an error wrapping multiple validation errors returned by UpdateMinerRequest.ValidateAll() if the designated constraints aren't met.
UpdateMinerSetRequestMultiError is an error wrapping multiple validation errors returned by UpdateMinerSetRequest.ValidateAll() if the designated constraints aren't met.