generate

package
v0.0.0-...-a76d37d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Code_name = map[int32]string{
	0: "Success",
	1: "Fail",
}
View Source
var Code_value = map[string]int32{
	"Success": 0,
	"Fail":    1,
}
View Source
var CryptoType_name = map[int32]string{
	0: "ECDSA",
	1: "RSA",
}
View Source
var CryptoType_value = map[string]int32{
	"ECDSA": 0,
	"RSA":   1,
}
View Source
var EccAlgorithm_name = map[int32]string{
	0: "p256",
	1: "p384",
	2: "p521",
}
View Source
var EccAlgorithm_value = map[string]int32{
	"p256": 0,
	"p384": 1,
	"p521": 2,
}
View Source
var OrgType_name = map[int32]string{
	0: "Order",
	1: "Peer",
}
View Source
var OrgType_value = map[string]int32{
	"Order": 0,
	"Peer":  1,
}
View Source
var RsaAlgorithm_name = map[int32]string{
	0: "r2048",
	1: "r4096",
}
View Source
var RsaAlgorithm_value = map[string]int32{
	"r2048": 0,
	"r4096": 1,
}
View Source
var SignAlgorithm_name = map[int32]string{
	0: "SHA256WithRSA",
	1: "SHA512WithRSA",
	2: "ECDSAWithSHA256",
	3: "ECDSAWithSHA384",
	4: "ECDSAWithSHA512",
}
View Source
var SignAlgorithm_value = map[string]int32{
	"SHA256WithRSA":   0,
	"SHA512WithRSA":   1,
	"ECDSAWithSHA256": 2,
	"ECDSAWithSHA384": 3,
	"ECDSAWithSHA512": 4,
}

Functions

func RegisterGenerateServer

func RegisterGenerateServer(s *grpc.Server, srv GenerateServer)

Types

type AnchorPeer

type AnchorPeer struct {
	Host                 string   `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port                 int32    `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AnchorPeer) Descriptor

func (*AnchorPeer) Descriptor() ([]byte, []int)

func (*AnchorPeer) GetHost

func (m *AnchorPeer) GetHost() string

func (*AnchorPeer) GetPort

func (m *AnchorPeer) GetPort() int32

func (*AnchorPeer) ProtoMessage

func (*AnchorPeer) ProtoMessage()

func (*AnchorPeer) Reset

func (m *AnchorPeer) Reset()

func (*AnchorPeer) String

func (m *AnchorPeer) String() string

func (*AnchorPeer) XXX_DiscardUnknown

func (m *AnchorPeer) XXX_DiscardUnknown()

func (*AnchorPeer) XXX_Marshal

func (m *AnchorPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnchorPeer) XXX_Merge

func (m *AnchorPeer) XXX_Merge(src proto.Message)

func (*AnchorPeer) XXX_Size

func (m *AnchorPeer) XXX_Size() int

func (*AnchorPeer) XXX_Unmarshal

func (m *AnchorPeer) XXX_Unmarshal(b []byte) error

type BatchSize

type BatchSize struct {
	MaxMessageCount      uint32   `protobuf:"varint,1,opt,name=maxMessageCount,proto3" json:"maxMessageCount,omitempty"`
	AbsoluteMaxBytes     uint32   `protobuf:"varint,2,opt,name=absoluteMaxBytes,proto3" json:"absoluteMaxBytes,omitempty"`
	PreferredMaxBytes    uint32   `protobuf:"varint,3,opt,name=preferredMaxBytes,proto3" json:"preferredMaxBytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BatchSize) Descriptor

func (*BatchSize) Descriptor() ([]byte, []int)

func (*BatchSize) GetAbsoluteMaxBytes

func (m *BatchSize) GetAbsoluteMaxBytes() uint32

func (*BatchSize) GetMaxMessageCount

func (m *BatchSize) GetMaxMessageCount() uint32

func (*BatchSize) GetPreferredMaxBytes

func (m *BatchSize) GetPreferredMaxBytes() uint32

func (*BatchSize) ProtoMessage

func (*BatchSize) ProtoMessage()

func (*BatchSize) Reset

func (m *BatchSize) Reset()

func (*BatchSize) String

func (m *BatchSize) String() string

func (*BatchSize) XXX_DiscardUnknown

func (m *BatchSize) XXX_DiscardUnknown()

func (*BatchSize) XXX_Marshal

func (m *BatchSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchSize) XXX_Merge

func (m *BatchSize) XXX_Merge(src proto.Message)

func (*BatchSize) XXX_Size

func (m *BatchSize) XXX_Size() int

func (*BatchSize) XXX_Unmarshal

func (m *BatchSize) XXX_Unmarshal(b []byte) error

type CSR

type CSR struct {
	Country              []string `protobuf:"bytes,1,rep,name=country,proto3" json:"country,omitempty"`
	Organization         []string `protobuf:"bytes,2,rep,name=organization,proto3" json:"organization,omitempty"`
	OrganizationalUnit   []string `protobuf:"bytes,3,rep,name=organizationalUnit,proto3" json:"organizationalUnit,omitempty"`
	Locality             []string `protobuf:"bytes,4,rep,name=locality,proto3" json:"locality,omitempty"`
	Province             []string `protobuf:"bytes,5,rep,name=province,proto3" json:"province,omitempty"`
	StreetAddress        []string `protobuf:"bytes,6,rep,name=streetAddress,proto3" json:"streetAddress,omitempty"`
	PostalCode           []string `protobuf:"bytes,7,rep,name=postalCode,proto3" json:"postalCode,omitempty"`
	SerialNumber         string   `protobuf:"bytes,8,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	CommonName           string   `protobuf:"bytes,9,opt,name=commonName,proto3" json:"commonName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

csr 证书请求申请内容

func (*CSR) Descriptor

func (*CSR) Descriptor() ([]byte, []int)

func (*CSR) GetCommonName

func (m *CSR) GetCommonName() string

func (*CSR) GetCountry

func (m *CSR) GetCountry() []string

func (*CSR) GetLocality

func (m *CSR) GetLocality() []string

func (*CSR) GetOrganization

func (m *CSR) GetOrganization() []string

func (*CSR) GetOrganizationalUnit

func (m *CSR) GetOrganizationalUnit() []string

func (*CSR) GetPostalCode

func (m *CSR) GetPostalCode() []string

func (*CSR) GetProvince

func (m *CSR) GetProvince() []string

func (*CSR) GetSerialNumber

func (m *CSR) GetSerialNumber() string

func (*CSR) GetStreetAddress

func (m *CSR) GetStreetAddress() []string

func (*CSR) ProtoMessage

func (*CSR) ProtoMessage()

func (*CSR) Reset

func (m *CSR) Reset()

func (*CSR) String

func (m *CSR) String() string

func (*CSR) XXX_DiscardUnknown

func (m *CSR) XXX_DiscardUnknown()

func (*CSR) XXX_Marshal

func (m *CSR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CSR) XXX_Merge

func (m *CSR) XXX_Merge(src proto.Message)

func (*CSR) XXX_Size

func (m *CSR) XXX_Size() int

func (*CSR) XXX_Unmarshal

func (m *CSR) XXX_Unmarshal(b []byte) error

type Code

type Code int32
const (
	Code_Success Code = 0
	Code_Fail    Code = 1
)

func (Code) EnumDescriptor

func (Code) EnumDescriptor() ([]byte, []int)

func (Code) String

func (x Code) String() string

type CryptoType

type CryptoType int32
const (
	CryptoType_ECDSA CryptoType = 0
	CryptoType_RSA   CryptoType = 1
)

func (CryptoType) EnumDescriptor

func (CryptoType) EnumDescriptor() ([]byte, []int)

func (CryptoType) String

func (x CryptoType) String() string

type EccAlgorithm

type EccAlgorithm int32
const (
	EccAlgorithm_p256 EccAlgorithm = 0
	EccAlgorithm_p384 EccAlgorithm = 1
	EccAlgorithm_p521 EccAlgorithm = 2
)

func (EccAlgorithm) EnumDescriptor

func (EccAlgorithm) EnumDescriptor() ([]byte, []int)

func (EccAlgorithm) String

func (x EccAlgorithm) String() string

type EnrollAttribute

type EnrollAttribute struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Optional             bool     `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EnrollAttribute) Descriptor

func (*EnrollAttribute) Descriptor() ([]byte, []int)

func (*EnrollAttribute) GetName

func (m *EnrollAttribute) GetName() string

func (*EnrollAttribute) GetOptional

func (m *EnrollAttribute) GetOptional() bool

func (*EnrollAttribute) ProtoMessage

func (*EnrollAttribute) ProtoMessage()

func (*EnrollAttribute) Reset

func (m *EnrollAttribute) Reset()

func (*EnrollAttribute) String

func (m *EnrollAttribute) String() string

func (*EnrollAttribute) XXX_DiscardUnknown

func (m *EnrollAttribute) XXX_DiscardUnknown()

func (*EnrollAttribute) XXX_Marshal

func (m *EnrollAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnrollAttribute) XXX_Merge

func (m *EnrollAttribute) XXX_Merge(src proto.Message)

func (*EnrollAttribute) XXX_Size

func (m *EnrollAttribute) XXX_Size() int

func (*EnrollAttribute) XXX_Unmarshal

func (m *EnrollAttribute) XXX_Unmarshal(b []byte) error

type EnrollInfo

type EnrollInfo struct {
	CsrPem               []byte         `protobuf:"bytes,1,opt,name=csrPem,proto3" json:"csrPem,omitempty"`
	FabricCaServerURL    string         `protobuf:"bytes,2,opt,name=fabricCaServerURL,proto3" json:"fabricCaServerURL,omitempty"`
	NotBefore            int64          `protobuf:"varint,3,opt,name=notBefore,proto3" json:"notBefore,omitempty"`
	NotAfter             int64          `protobuf:"varint,4,opt,name=notAfter,proto3" json:"notAfter,omitempty"`
	EnrollRequest        *EnrollRequest `protobuf:"bytes,5,opt,name=enrollRequest,proto3" json:"enrollRequest,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*EnrollInfo) Descriptor

func (*EnrollInfo) Descriptor() ([]byte, []int)

func (*EnrollInfo) GetCsrPem

func (m *EnrollInfo) GetCsrPem() []byte

func (*EnrollInfo) GetEnrollRequest

func (m *EnrollInfo) GetEnrollRequest() *EnrollRequest

func (*EnrollInfo) GetFabricCaServerURL

func (m *EnrollInfo) GetFabricCaServerURL() string

func (*EnrollInfo) GetNotAfter

func (m *EnrollInfo) GetNotAfter() int64

func (*EnrollInfo) GetNotBefore

func (m *EnrollInfo) GetNotBefore() int64

func (*EnrollInfo) ProtoMessage

func (*EnrollInfo) ProtoMessage()

func (*EnrollInfo) Reset

func (m *EnrollInfo) Reset()

func (*EnrollInfo) String

func (m *EnrollInfo) String() string

func (*EnrollInfo) XXX_DiscardUnknown

func (m *EnrollInfo) XXX_DiscardUnknown()

func (*EnrollInfo) XXX_Marshal

func (m *EnrollInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnrollInfo) XXX_Merge

func (m *EnrollInfo) XXX_Merge(src proto.Message)

func (*EnrollInfo) XXX_Size

func (m *EnrollInfo) XXX_Size() int

func (*EnrollInfo) XXX_Unmarshal

func (m *EnrollInfo) XXX_Unmarshal(b []byte) error

type EnrollRequest

type EnrollRequest struct {
	EnrollID             string             `protobuf:"bytes,1,opt,name=enrollID,proto3" json:"enrollID,omitempty"`
	Secret               string             `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Name                 *CSR               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Profile              string             `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
	Label                string             `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	CaName               string             `protobuf:"bytes,6,opt,name=caName,proto3" json:"caName,omitempty"`
	Hosts                []string           `protobuf:"bytes,7,rep,name=hosts,proto3" json:"hosts,omitempty"`
	Attrs                []*EnrollAttribute `protobuf:"bytes,8,rep,name=attrs,proto3" json:"attrs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*EnrollRequest) Descriptor

func (*EnrollRequest) Descriptor() ([]byte, []int)

func (*EnrollRequest) GetAttrs

func (m *EnrollRequest) GetAttrs() []*EnrollAttribute

func (*EnrollRequest) GetCaName

func (m *EnrollRequest) GetCaName() string

func (*EnrollRequest) GetEnrollID

func (m *EnrollRequest) GetEnrollID() string

func (*EnrollRequest) GetHosts

func (m *EnrollRequest) GetHosts() []string

func (*EnrollRequest) GetLabel

func (m *EnrollRequest) GetLabel() string

func (*EnrollRequest) GetName

func (m *EnrollRequest) GetName() *CSR

func (*EnrollRequest) GetProfile

func (m *EnrollRequest) GetProfile() string

func (*EnrollRequest) GetSecret

func (m *EnrollRequest) GetSecret() string

func (*EnrollRequest) ProtoMessage

func (*EnrollRequest) ProtoMessage()

func (*EnrollRequest) Reset

func (m *EnrollRequest) Reset()

func (*EnrollRequest) String

func (m *EnrollRequest) String() string

func (*EnrollRequest) XXX_DiscardUnknown

func (m *EnrollRequest) XXX_DiscardUnknown()

func (*EnrollRequest) XXX_Marshal

func (m *EnrollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnrollRequest) XXX_Merge

func (m *EnrollRequest) XXX_Merge(src proto.Message)

func (*EnrollRequest) XXX_Size

func (m *EnrollRequest) XXX_Size() int

func (*EnrollRequest) XXX_Unmarshal

func (m *EnrollRequest) XXX_Unmarshal(b []byte) error

type GenerateClient

type GenerateClient interface {
	GenerateCrypto(ctx context.Context, in *ReqKeyConfig, opts ...grpc.CallOption) (*RespKeyConfig, error)
	GenerateLeague(ctx context.Context, in *ReqCreateLeague, opts ...grpc.CallOption) (*RespCreateLeague, error)
	GenerateOrg(ctx context.Context, in *ReqCreateOrg, opts ...grpc.CallOption) (*RespCreateOrg, error)
	GenerateCsr(ctx context.Context, in *ReqCreateCsr, opts ...grpc.CallOption) (*RespCreateCsr, error)
	GenerateOrgNode(ctx context.Context, in *ReqCreateOrgNode, opts ...grpc.CallOption) (*RespCreateOrgNode, error)
	GenerateOrgUser(ctx context.Context, in *ReqCreateOrgUser, opts ...grpc.CallOption) (*RespCreateOrgUser, error)
	GenerateGenesisBlock(ctx context.Context, in *ReqGenesis, opts ...grpc.CallOption) (*RespGenesis, error)
	GenerateChannelTx(ctx context.Context, in *ReqChannelTx, opts ...grpc.CallOption) (*RespChannelTx, error)
}

GenerateClient is the client API for Generate service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGenerateClient

func NewGenerateClient(cc *grpc.ClientConn) GenerateClient

type GenerateServer

type GenerateServer interface {
	GenerateCrypto(context.Context, *ReqKeyConfig) (*RespKeyConfig, error)
	GenerateLeague(context.Context, *ReqCreateLeague) (*RespCreateLeague, error)
	GenerateOrg(context.Context, *ReqCreateOrg) (*RespCreateOrg, error)
	GenerateCsr(context.Context, *ReqCreateCsr) (*RespCreateCsr, error)
	GenerateOrgNode(context.Context, *ReqCreateOrgNode) (*RespCreateOrgNode, error)
	GenerateOrgUser(context.Context, *ReqCreateOrgUser) (*RespCreateOrgUser, error)
	GenerateGenesisBlock(context.Context, *ReqGenesis) (*RespGenesis, error)
	GenerateChannelTx(context.Context, *ReqChannelTx) (*RespChannelTx, error)
}

GenerateServer is the server API for Generate service.

type Kafka

type Kafka struct {
	Brokers              []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Kafka) Descriptor

func (*Kafka) Descriptor() ([]byte, []int)

func (*Kafka) GetBrokers

func (m *Kafka) GetBrokers() []string

func (*Kafka) ProtoMessage

func (*Kafka) ProtoMessage()

func (*Kafka) Reset

func (m *Kafka) Reset()

func (*Kafka) String

func (m *Kafka) String() string

func (*Kafka) XXX_DiscardUnknown

func (m *Kafka) XXX_DiscardUnknown()

func (*Kafka) XXX_Marshal

func (m *Kafka) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Kafka) XXX_Merge

func (m *Kafka) XXX_Merge(src proto.Message)

func (*Kafka) XXX_Size

func (m *Kafka) XXX_Size() int

func (*Kafka) XXX_Unmarshal

func (m *Kafka) XXX_Unmarshal(b []byte) error

type LeagueInBlock

type LeagueInBlock struct {
	Domain               string     `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Addresses            []string   `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	BatchTimeout         int64      `protobuf:"varint,3,opt,name=BatchTimeout,proto3" json:"BatchTimeout,omitempty"`
	BatchSize            *BatchSize `protobuf:"bytes,4,opt,name=batchSize,proto3" json:"batchSize,omitempty"`
	Kafka                *Kafka     `protobuf:"bytes,5,opt,name=kafka,proto3" json:"kafka,omitempty"`
	MaxChannels          uint64     `protobuf:"varint,6,opt,name=MaxChannels,proto3" json:"MaxChannels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*LeagueInBlock) Descriptor

func (*LeagueInBlock) Descriptor() ([]byte, []int)

func (*LeagueInBlock) GetAddresses

func (m *LeagueInBlock) GetAddresses() []string

func (*LeagueInBlock) GetBatchSize

func (m *LeagueInBlock) GetBatchSize() *BatchSize

func (*LeagueInBlock) GetBatchTimeout

func (m *LeagueInBlock) GetBatchTimeout() int64

func (*LeagueInBlock) GetDomain

func (m *LeagueInBlock) GetDomain() string

func (*LeagueInBlock) GetKafka

func (m *LeagueInBlock) GetKafka() *Kafka

func (*LeagueInBlock) GetMaxChannels

func (m *LeagueInBlock) GetMaxChannels() uint64

func (*LeagueInBlock) ProtoMessage

func (*LeagueInBlock) ProtoMessage()

func (*LeagueInBlock) Reset

func (m *LeagueInBlock) Reset()

func (*LeagueInBlock) String

func (m *LeagueInBlock) String() string

func (*LeagueInBlock) XXX_DiscardUnknown

func (m *LeagueInBlock) XXX_DiscardUnknown()

func (*LeagueInBlock) XXX_Marshal

func (m *LeagueInBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LeagueInBlock) XXX_Merge

func (m *LeagueInBlock) XXX_Merge(src proto.Message)

func (*LeagueInBlock) XXX_Size

func (m *LeagueInBlock) XXX_Size() int

func (*LeagueInBlock) XXX_Unmarshal

func (m *LeagueInBlock) XXX_Unmarshal(b []byte) error

type OrgChild

type OrgChild struct {
	LeagueDomain         string        `protobuf:"bytes,2,opt,name=leagueDomain,proto3" json:"leagueDomain,omitempty"`
	OrgName              string        `protobuf:"bytes,3,opt,name=orgName,proto3" json:"orgName,omitempty"`
	OrgDomain            string        `protobuf:"bytes,4,opt,name=orgDomain,proto3" json:"orgDomain,omitempty"`
	Name                 string        `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	PubTlsData           []byte        `protobuf:"bytes,7,opt,name=pubTlsData,proto3" json:"pubTlsData,omitempty"`
	SignAlgorithm        SignAlgorithm `protobuf:"varint,8,opt,name=signAlgorithm,proto3,enum=generate.SignAlgorithm" json:"signAlgorithm,omitempty"`
	EnrollInfo           *EnrollInfo   `protobuf:"bytes,9,opt,name=enrollInfo,proto3" json:"enrollInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*OrgChild) Descriptor

func (*OrgChild) Descriptor() ([]byte, []int)

func (*OrgChild) GetEnrollInfo

func (m *OrgChild) GetEnrollInfo() *EnrollInfo

func (*OrgChild) GetLeagueDomain

func (m *OrgChild) GetLeagueDomain() string

func (*OrgChild) GetName

func (m *OrgChild) GetName() string

func (*OrgChild) GetOrgDomain

func (m *OrgChild) GetOrgDomain() string

func (*OrgChild) GetOrgName

func (m *OrgChild) GetOrgName() string

func (*OrgChild) GetPubTlsData

func (m *OrgChild) GetPubTlsData() []byte

func (*OrgChild) GetSignAlgorithm

func (m *OrgChild) GetSignAlgorithm() SignAlgorithm

func (*OrgChild) ProtoMessage

func (*OrgChild) ProtoMessage()

func (*OrgChild) Reset

func (m *OrgChild) Reset()

func (*OrgChild) String

func (m *OrgChild) String() string

func (*OrgChild) XXX_DiscardUnknown

func (m *OrgChild) XXX_DiscardUnknown()

func (*OrgChild) XXX_Marshal

func (m *OrgChild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrgChild) XXX_Merge

func (m *OrgChild) XXX_Merge(src proto.Message)

func (*OrgChild) XXX_Size

func (m *OrgChild) XXX_Size() int

func (*OrgChild) XXX_Unmarshal

func (m *OrgChild) XXX_Unmarshal(b []byte) error

type OrgInBlock

type OrgInBlock struct {
	Domain               string        `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	Name                 string        `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type                 OrgType       `protobuf:"varint,4,opt,name=type,proto3,enum=generate.OrgType" json:"type,omitempty"`
	AnchorPeers          []*AnchorPeer `protobuf:"bytes,5,rep,name=anchorPeers,proto3" json:"anchorPeers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

ReqOrderers 请求生成指定联盟默认orderer服务集合

func (*OrgInBlock) Descriptor

func (*OrgInBlock) Descriptor() ([]byte, []int)

func (*OrgInBlock) GetAnchorPeers

func (m *OrgInBlock) GetAnchorPeers() []*AnchorPeer

func (*OrgInBlock) GetDomain

func (m *OrgInBlock) GetDomain() string

func (*OrgInBlock) GetName

func (m *OrgInBlock) GetName() string

func (*OrgInBlock) GetType

func (m *OrgInBlock) GetType() OrgType

func (*OrgInBlock) ProtoMessage

func (*OrgInBlock) ProtoMessage()

func (*OrgInBlock) Reset

func (m *OrgInBlock) Reset()

func (*OrgInBlock) String

func (m *OrgInBlock) String() string

func (*OrgInBlock) XXX_DiscardUnknown

func (m *OrgInBlock) XXX_DiscardUnknown()

func (*OrgInBlock) XXX_Marshal

func (m *OrgInBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrgInBlock) XXX_Merge

func (m *OrgInBlock) XXX_Merge(src proto.Message)

func (*OrgInBlock) XXX_Size

func (m *OrgInBlock) XXX_Size() int

func (*OrgInBlock) XXX_Unmarshal

func (m *OrgInBlock) XXX_Unmarshal(b []byte) error

type OrgType

type OrgType int32
const (
	OrgType_Order OrgType = 0
	OrgType_Peer  OrgType = 1
)

func (OrgType) EnumDescriptor

func (OrgType) EnumDescriptor() ([]byte, []int)

func (OrgType) String

func (x OrgType) String() string

type ReqChannelTx

type ReqChannelTx struct {
	ChannelID            string      `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"`
	Genesis              *ReqGenesis `protobuf:"bytes,2,opt,name=genesis,proto3" json:"genesis,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ReqChannelTx) Descriptor

func (*ReqChannelTx) Descriptor() ([]byte, []int)

func (*ReqChannelTx) GetChannelID

func (m *ReqChannelTx) GetChannelID() string

func (*ReqChannelTx) GetGenesis

func (m *ReqChannelTx) GetGenesis() *ReqGenesis

func (*ReqChannelTx) ProtoMessage

func (*ReqChannelTx) ProtoMessage()

func (*ReqChannelTx) Reset

func (m *ReqChannelTx) Reset()

func (*ReqChannelTx) String

func (m *ReqChannelTx) String() string

func (*ReqChannelTx) XXX_DiscardUnknown

func (m *ReqChannelTx) XXX_DiscardUnknown()

func (*ReqChannelTx) XXX_Marshal

func (m *ReqChannelTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqChannelTx) XXX_Merge

func (m *ReqChannelTx) XXX_Merge(src proto.Message)

func (*ReqChannelTx) XXX_Size

func (m *ReqChannelTx) XXX_Size() int

func (*ReqChannelTx) XXX_Unmarshal

func (m *ReqChannelTx) XXX_Unmarshal(b []byte) error

type ReqCreateCsr

type ReqCreateCsr struct {
	LeagueDomain         string        `protobuf:"bytes,2,opt,name=leagueDomain,proto3" json:"leagueDomain,omitempty"`
	OrgName              string        `protobuf:"bytes,3,opt,name=orgName,proto3" json:"orgName,omitempty"`
	OrgDomain            string        `protobuf:"bytes,4,opt,name=orgDomain,proto3" json:"orgDomain,omitempty"`
	PriKey               []byte        `protobuf:"bytes,5,opt,name=priKey,proto3" json:"priKey,omitempty"`
	Name                 *CSR          `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	SignAlgorithm        SignAlgorithm `protobuf:"varint,7,opt,name=signAlgorithm,proto3,enum=generate.SignAlgorithm" json:"signAlgorithm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ReqCreateCsr) Descriptor

func (*ReqCreateCsr) Descriptor() ([]byte, []int)

func (*ReqCreateCsr) GetLeagueDomain

func (m *ReqCreateCsr) GetLeagueDomain() string

func (*ReqCreateCsr) GetName

func (m *ReqCreateCsr) GetName() *CSR

func (*ReqCreateCsr) GetOrgDomain

func (m *ReqCreateCsr) GetOrgDomain() string

func (*ReqCreateCsr) GetOrgName

func (m *ReqCreateCsr) GetOrgName() string

func (*ReqCreateCsr) GetPriKey

func (m *ReqCreateCsr) GetPriKey() []byte

func (*ReqCreateCsr) GetSignAlgorithm

func (m *ReqCreateCsr) GetSignAlgorithm() SignAlgorithm

func (*ReqCreateCsr) ProtoMessage

func (*ReqCreateCsr) ProtoMessage()

func (*ReqCreateCsr) Reset

func (m *ReqCreateCsr) Reset()

func (*ReqCreateCsr) String

func (m *ReqCreateCsr) String() string

func (*ReqCreateCsr) XXX_DiscardUnknown

func (m *ReqCreateCsr) XXX_DiscardUnknown()

func (*ReqCreateCsr) XXX_Marshal

func (m *ReqCreateCsr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateCsr) XXX_Merge

func (m *ReqCreateCsr) XXX_Merge(src proto.Message)

func (*ReqCreateCsr) XXX_Size

func (m *ReqCreateCsr) XXX_Size() int

func (*ReqCreateCsr) XXX_Unmarshal

func (m *ReqCreateCsr) XXX_Unmarshal(b []byte) error

type ReqCreateLeague

type ReqCreateLeague struct {
	Domain               string        `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	PriData              []byte        `protobuf:"bytes,2,opt,name=priData,proto3" json:"priData,omitempty"`
	PriTlsData           []byte        `protobuf:"bytes,3,opt,name=priTlsData,proto3" json:"priTlsData,omitempty"`
	Csr                  *CSR          `protobuf:"bytes,4,opt,name=csr,proto3" json:"csr,omitempty"`
	SignAlgorithm        SignAlgorithm `protobuf:"varint,5,opt,name=signAlgorithm,proto3,enum=generate.SignAlgorithm" json:"signAlgorithm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ReqCreateLeague) Descriptor

func (*ReqCreateLeague) Descriptor() ([]byte, []int)

func (*ReqCreateLeague) GetCsr

func (m *ReqCreateLeague) GetCsr() *CSR

func (*ReqCreateLeague) GetDomain

func (m *ReqCreateLeague) GetDomain() string

func (*ReqCreateLeague) GetPriData

func (m *ReqCreateLeague) GetPriData() []byte

func (*ReqCreateLeague) GetPriTlsData

func (m *ReqCreateLeague) GetPriTlsData() []byte

func (*ReqCreateLeague) GetSignAlgorithm

func (m *ReqCreateLeague) GetSignAlgorithm() SignAlgorithm

func (*ReqCreateLeague) ProtoMessage

func (*ReqCreateLeague) ProtoMessage()

func (*ReqCreateLeague) Reset

func (m *ReqCreateLeague) Reset()

func (*ReqCreateLeague) String

func (m *ReqCreateLeague) String() string

func (*ReqCreateLeague) XXX_DiscardUnknown

func (m *ReqCreateLeague) XXX_DiscardUnknown()

func (*ReqCreateLeague) XXX_Marshal

func (m *ReqCreateLeague) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateLeague) XXX_Merge

func (m *ReqCreateLeague) XXX_Merge(src proto.Message)

func (*ReqCreateLeague) XXX_Size

func (m *ReqCreateLeague) XXX_Size() int

func (*ReqCreateLeague) XXX_Unmarshal

func (m *ReqCreateLeague) XXX_Unmarshal(b []byte) error

type ReqCreateOrg

type ReqCreateOrg struct {
	OrgType              OrgType  `protobuf:"varint,1,opt,name=orgType,proto3,enum=generate.OrgType" json:"orgType,omitempty"`
	LeagueDomain         string   `protobuf:"bytes,2,opt,name=leagueDomain,proto3" json:"leagueDomain,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Domain               string   `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqCreateOrg) Descriptor

func (*ReqCreateOrg) Descriptor() ([]byte, []int)

func (*ReqCreateOrg) GetDomain

func (m *ReqCreateOrg) GetDomain() string

func (*ReqCreateOrg) GetLeagueDomain

func (m *ReqCreateOrg) GetLeagueDomain() string

func (*ReqCreateOrg) GetName

func (m *ReqCreateOrg) GetName() string

func (*ReqCreateOrg) GetOrgType

func (m *ReqCreateOrg) GetOrgType() OrgType

func (*ReqCreateOrg) ProtoMessage

func (*ReqCreateOrg) ProtoMessage()

func (*ReqCreateOrg) Reset

func (m *ReqCreateOrg) Reset()

func (*ReqCreateOrg) String

func (m *ReqCreateOrg) String() string

func (*ReqCreateOrg) XXX_DiscardUnknown

func (m *ReqCreateOrg) XXX_DiscardUnknown()

func (*ReqCreateOrg) XXX_Marshal

func (m *ReqCreateOrg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateOrg) XXX_Merge

func (m *ReqCreateOrg) XXX_Merge(src proto.Message)

func (*ReqCreateOrg) XXX_Size

func (m *ReqCreateOrg) XXX_Size() int

func (*ReqCreateOrg) XXX_Unmarshal

func (m *ReqCreateOrg) XXX_Unmarshal(b []byte) error

type ReqCreateOrgNode

type ReqCreateOrgNode struct {
	OrgType              OrgType   `protobuf:"varint,1,opt,name=orgType,proto3,enum=generate.OrgType" json:"orgType,omitempty"`
	OrgChild             *OrgChild `protobuf:"bytes,2,opt,name=orgChild,proto3" json:"orgChild,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ReqCreateOrgNode) Descriptor

func (*ReqCreateOrgNode) Descriptor() ([]byte, []int)

func (*ReqCreateOrgNode) GetOrgChild

func (m *ReqCreateOrgNode) GetOrgChild() *OrgChild

func (*ReqCreateOrgNode) GetOrgType

func (m *ReqCreateOrgNode) GetOrgType() OrgType

func (*ReqCreateOrgNode) ProtoMessage

func (*ReqCreateOrgNode) ProtoMessage()

func (*ReqCreateOrgNode) Reset

func (m *ReqCreateOrgNode) Reset()

func (*ReqCreateOrgNode) String

func (m *ReqCreateOrgNode) String() string

func (*ReqCreateOrgNode) XXX_DiscardUnknown

func (m *ReqCreateOrgNode) XXX_DiscardUnknown()

func (*ReqCreateOrgNode) XXX_Marshal

func (m *ReqCreateOrgNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateOrgNode) XXX_Merge

func (m *ReqCreateOrgNode) XXX_Merge(src proto.Message)

func (*ReqCreateOrgNode) XXX_Size

func (m *ReqCreateOrgNode) XXX_Size() int

func (*ReqCreateOrgNode) XXX_Unmarshal

func (m *ReqCreateOrgNode) XXX_Unmarshal(b []byte) error

type ReqCreateOrgUser

type ReqCreateOrgUser struct {
	OrgType              OrgType   `protobuf:"varint,1,opt,name=orgType,proto3,enum=generate.OrgType" json:"orgType,omitempty"`
	OrgChild             *OrgChild `protobuf:"bytes,2,opt,name=orgChild,proto3" json:"orgChild,omitempty"`
	IsAdmin              bool      `protobuf:"varint,3,opt,name=isAdmin,proto3" json:"isAdmin,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ReqCreateOrgUser) Descriptor

func (*ReqCreateOrgUser) Descriptor() ([]byte, []int)

func (*ReqCreateOrgUser) GetIsAdmin

func (m *ReqCreateOrgUser) GetIsAdmin() bool

func (*ReqCreateOrgUser) GetOrgChild

func (m *ReqCreateOrgUser) GetOrgChild() *OrgChild

func (*ReqCreateOrgUser) GetOrgType

func (m *ReqCreateOrgUser) GetOrgType() OrgType

func (*ReqCreateOrgUser) ProtoMessage

func (*ReqCreateOrgUser) ProtoMessage()

func (*ReqCreateOrgUser) Reset

func (m *ReqCreateOrgUser) Reset()

func (*ReqCreateOrgUser) String

func (m *ReqCreateOrgUser) String() string

func (*ReqCreateOrgUser) XXX_DiscardUnknown

func (m *ReqCreateOrgUser) XXX_DiscardUnknown()

func (*ReqCreateOrgUser) XXX_Marshal

func (m *ReqCreateOrgUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateOrgUser) XXX_Merge

func (m *ReqCreateOrgUser) XXX_Merge(src proto.Message)

func (*ReqCreateOrgUser) XXX_Size

func (m *ReqCreateOrgUser) XXX_Size() int

func (*ReqCreateOrgUser) XXX_Unmarshal

func (m *ReqCreateOrgUser) XXX_Unmarshal(b []byte) error

type ReqGenesis

type ReqGenesis struct {
	League               *LeagueInBlock `protobuf:"bytes,1,opt,name=league,proto3" json:"league,omitempty"`
	Orgs                 []*OrgInBlock  `protobuf:"bytes,2,rep,name=orgs,proto3" json:"orgs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ReqGenesis) Descriptor

func (*ReqGenesis) Descriptor() ([]byte, []int)

func (*ReqGenesis) GetLeague

func (m *ReqGenesis) GetLeague() *LeagueInBlock

func (*ReqGenesis) GetOrgs

func (m *ReqGenesis) GetOrgs() []*OrgInBlock

func (*ReqGenesis) ProtoMessage

func (*ReqGenesis) ProtoMessage()

func (*ReqGenesis) Reset

func (m *ReqGenesis) Reset()

func (*ReqGenesis) String

func (m *ReqGenesis) String() string

func (*ReqGenesis) XXX_DiscardUnknown

func (m *ReqGenesis) XXX_DiscardUnknown()

func (*ReqGenesis) XXX_Marshal

func (m *ReqGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqGenesis) XXX_Merge

func (m *ReqGenesis) XXX_Merge(src proto.Message)

func (*ReqGenesis) XXX_Size

func (m *ReqGenesis) XXX_Size() int

func (*ReqGenesis) XXX_Unmarshal

func (m *ReqGenesis) XXX_Unmarshal(b []byte) error

type ReqKeyConfig

type ReqKeyConfig struct {
	CryptoType CryptoType `protobuf:"varint,1,opt,name=cryptoType,proto3,enum=generate.CryptoType" json:"cryptoType,omitempty"`
	// Types that are valid to be assigned to Algorithm:
	//	*ReqKeyConfig_EccAlgorithm
	//	*ReqKeyConfig_RsaAlgorithm
	Algorithm            isReqKeyConfig_Algorithm `protobuf_oneof:"Algorithm"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ReqKeyConfig) Descriptor

func (*ReqKeyConfig) Descriptor() ([]byte, []int)

func (*ReqKeyConfig) GetAlgorithm

func (m *ReqKeyConfig) GetAlgorithm() isReqKeyConfig_Algorithm

func (*ReqKeyConfig) GetCryptoType

func (m *ReqKeyConfig) GetCryptoType() CryptoType

func (*ReqKeyConfig) GetEccAlgorithm

func (m *ReqKeyConfig) GetEccAlgorithm() EccAlgorithm

func (*ReqKeyConfig) GetRsaAlgorithm

func (m *ReqKeyConfig) GetRsaAlgorithm() RsaAlgorithm

func (*ReqKeyConfig) ProtoMessage

func (*ReqKeyConfig) ProtoMessage()

func (*ReqKeyConfig) Reset

func (m *ReqKeyConfig) Reset()

func (*ReqKeyConfig) String

func (m *ReqKeyConfig) String() string

func (*ReqKeyConfig) XXX_DiscardUnknown

func (m *ReqKeyConfig) XXX_DiscardUnknown()

func (*ReqKeyConfig) XXX_Marshal

func (m *ReqKeyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqKeyConfig) XXX_Merge

func (m *ReqKeyConfig) XXX_Merge(src proto.Message)

func (*ReqKeyConfig) XXX_OneofFuncs

func (*ReqKeyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ReqKeyConfig) XXX_Size

func (m *ReqKeyConfig) XXX_Size() int

func (*ReqKeyConfig) XXX_Unmarshal

func (m *ReqKeyConfig) XXX_Unmarshal(b []byte) error

type ReqKeyConfig_EccAlgorithm

type ReqKeyConfig_EccAlgorithm struct {
	EccAlgorithm EccAlgorithm `protobuf:"varint,2,opt,name=eccAlgorithm,proto3,enum=generate.EccAlgorithm,oneof"`
}

type ReqKeyConfig_RsaAlgorithm

type ReqKeyConfig_RsaAlgorithm struct {
	RsaAlgorithm RsaAlgorithm `protobuf:"varint,3,opt,name=rsaAlgorithm,proto3,enum=generate.RsaAlgorithm,oneof"`
}

type RespChannelTx

type RespChannelTx struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespChannelTx) Descriptor

func (*RespChannelTx) Descriptor() ([]byte, []int)

func (*RespChannelTx) GetCode

func (m *RespChannelTx) GetCode() Code

func (*RespChannelTx) GetErrMsg

func (m *RespChannelTx) GetErrMsg() string

func (*RespChannelTx) ProtoMessage

func (*RespChannelTx) ProtoMessage()

func (*RespChannelTx) Reset

func (m *RespChannelTx) Reset()

func (*RespChannelTx) String

func (m *RespChannelTx) String() string

func (*RespChannelTx) XXX_DiscardUnknown

func (m *RespChannelTx) XXX_DiscardUnknown()

func (*RespChannelTx) XXX_Marshal

func (m *RespChannelTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespChannelTx) XXX_Merge

func (m *RespChannelTx) XXX_Merge(src proto.Message)

func (*RespChannelTx) XXX_Size

func (m *RespChannelTx) XXX_Size() int

func (*RespChannelTx) XXX_Unmarshal

func (m *RespChannelTx) XXX_Unmarshal(b []byte) error

type RespCreateCsr

type RespCreateCsr struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespCreateCsr) Descriptor

func (*RespCreateCsr) Descriptor() ([]byte, []int)

func (*RespCreateCsr) GetCode

func (m *RespCreateCsr) GetCode() Code

func (*RespCreateCsr) GetErrMsg

func (m *RespCreateCsr) GetErrMsg() string

func (*RespCreateCsr) ProtoMessage

func (*RespCreateCsr) ProtoMessage()

func (*RespCreateCsr) Reset

func (m *RespCreateCsr) Reset()

func (*RespCreateCsr) String

func (m *RespCreateCsr) String() string

func (*RespCreateCsr) XXX_DiscardUnknown

func (m *RespCreateCsr) XXX_DiscardUnknown()

func (*RespCreateCsr) XXX_Marshal

func (m *RespCreateCsr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespCreateCsr) XXX_Merge

func (m *RespCreateCsr) XXX_Merge(src proto.Message)

func (*RespCreateCsr) XXX_Size

func (m *RespCreateCsr) XXX_Size() int

func (*RespCreateCsr) XXX_Unmarshal

func (m *RespCreateCsr) XXX_Unmarshal(b []byte) error

type RespCreateLeague

type RespCreateLeague struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespCreateLeague) Descriptor

func (*RespCreateLeague) Descriptor() ([]byte, []int)

func (*RespCreateLeague) GetCode

func (m *RespCreateLeague) GetCode() Code

func (*RespCreateLeague) GetErrMsg

func (m *RespCreateLeague) GetErrMsg() string

func (*RespCreateLeague) ProtoMessage

func (*RespCreateLeague) ProtoMessage()

func (*RespCreateLeague) Reset

func (m *RespCreateLeague) Reset()

func (*RespCreateLeague) String

func (m *RespCreateLeague) String() string

func (*RespCreateLeague) XXX_DiscardUnknown

func (m *RespCreateLeague) XXX_DiscardUnknown()

func (*RespCreateLeague) XXX_Marshal

func (m *RespCreateLeague) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespCreateLeague) XXX_Merge

func (m *RespCreateLeague) XXX_Merge(src proto.Message)

func (*RespCreateLeague) XXX_Size

func (m *RespCreateLeague) XXX_Size() int

func (*RespCreateLeague) XXX_Unmarshal

func (m *RespCreateLeague) XXX_Unmarshal(b []byte) error

type RespCreateOrg

type RespCreateOrg struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespCreateOrg) Descriptor

func (*RespCreateOrg) Descriptor() ([]byte, []int)

func (*RespCreateOrg) GetCode

func (m *RespCreateOrg) GetCode() Code

func (*RespCreateOrg) GetErrMsg

func (m *RespCreateOrg) GetErrMsg() string

func (*RespCreateOrg) ProtoMessage

func (*RespCreateOrg) ProtoMessage()

func (*RespCreateOrg) Reset

func (m *RespCreateOrg) Reset()

func (*RespCreateOrg) String

func (m *RespCreateOrg) String() string

func (*RespCreateOrg) XXX_DiscardUnknown

func (m *RespCreateOrg) XXX_DiscardUnknown()

func (*RespCreateOrg) XXX_Marshal

func (m *RespCreateOrg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespCreateOrg) XXX_Merge

func (m *RespCreateOrg) XXX_Merge(src proto.Message)

func (*RespCreateOrg) XXX_Size

func (m *RespCreateOrg) XXX_Size() int

func (*RespCreateOrg) XXX_Unmarshal

func (m *RespCreateOrg) XXX_Unmarshal(b []byte) error

type RespCreateOrgNode

type RespCreateOrgNode struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespCreateOrgNode) Descriptor

func (*RespCreateOrgNode) Descriptor() ([]byte, []int)

func (*RespCreateOrgNode) GetCode

func (m *RespCreateOrgNode) GetCode() Code

func (*RespCreateOrgNode) GetErrMsg

func (m *RespCreateOrgNode) GetErrMsg() string

func (*RespCreateOrgNode) ProtoMessage

func (*RespCreateOrgNode) ProtoMessage()

func (*RespCreateOrgNode) Reset

func (m *RespCreateOrgNode) Reset()

func (*RespCreateOrgNode) String

func (m *RespCreateOrgNode) String() string

func (*RespCreateOrgNode) XXX_DiscardUnknown

func (m *RespCreateOrgNode) XXX_DiscardUnknown()

func (*RespCreateOrgNode) XXX_Marshal

func (m *RespCreateOrgNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespCreateOrgNode) XXX_Merge

func (m *RespCreateOrgNode) XXX_Merge(src proto.Message)

func (*RespCreateOrgNode) XXX_Size

func (m *RespCreateOrgNode) XXX_Size() int

func (*RespCreateOrgNode) XXX_Unmarshal

func (m *RespCreateOrgNode) XXX_Unmarshal(b []byte) error

type RespCreateOrgUser

type RespCreateOrgUser struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespCreateOrgUser) Descriptor

func (*RespCreateOrgUser) Descriptor() ([]byte, []int)

func (*RespCreateOrgUser) GetCode

func (m *RespCreateOrgUser) GetCode() Code

func (*RespCreateOrgUser) GetErrMsg

func (m *RespCreateOrgUser) GetErrMsg() string

func (*RespCreateOrgUser) ProtoMessage

func (*RespCreateOrgUser) ProtoMessage()

func (*RespCreateOrgUser) Reset

func (m *RespCreateOrgUser) Reset()

func (*RespCreateOrgUser) String

func (m *RespCreateOrgUser) String() string

func (*RespCreateOrgUser) XXX_DiscardUnknown

func (m *RespCreateOrgUser) XXX_DiscardUnknown()

func (*RespCreateOrgUser) XXX_Marshal

func (m *RespCreateOrgUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespCreateOrgUser) XXX_Merge

func (m *RespCreateOrgUser) XXX_Merge(src proto.Message)

func (*RespCreateOrgUser) XXX_Size

func (m *RespCreateOrgUser) XXX_Size() int

func (*RespCreateOrgUser) XXX_Unmarshal

func (m *RespCreateOrgUser) XXX_Unmarshal(b []byte) error

type RespGenesis

type RespGenesis struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespGenesis) Descriptor

func (*RespGenesis) Descriptor() ([]byte, []int)

func (*RespGenesis) GetCode

func (m *RespGenesis) GetCode() Code

func (*RespGenesis) GetErrMsg

func (m *RespGenesis) GetErrMsg() string

func (*RespGenesis) ProtoMessage

func (*RespGenesis) ProtoMessage()

func (*RespGenesis) Reset

func (m *RespGenesis) Reset()

func (*RespGenesis) String

func (m *RespGenesis) String() string

func (*RespGenesis) XXX_DiscardUnknown

func (m *RespGenesis) XXX_DiscardUnknown()

func (*RespGenesis) XXX_Marshal

func (m *RespGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespGenesis) XXX_Merge

func (m *RespGenesis) XXX_Merge(src proto.Message)

func (*RespGenesis) XXX_Size

func (m *RespGenesis) XXX_Size() int

func (*RespGenesis) XXX_Unmarshal

func (m *RespGenesis) XXX_Unmarshal(b []byte) error

type RespKeyConfig

type RespKeyConfig struct {
	Code                 Code     `protobuf:"varint,1,opt,name=code,proto3,enum=generate.Code" json:"code,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	PriKeyFilePath       string   `protobuf:"bytes,3,opt,name=priKeyFilePath,proto3" json:"priKeyFilePath,omitempty"`
	PubKeyFilePath       string   `protobuf:"bytes,4,opt,name=pubKeyFilePath,proto3" json:"pubKeyFilePath,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RespKeyConfig) Descriptor

func (*RespKeyConfig) Descriptor() ([]byte, []int)

func (*RespKeyConfig) GetCode

func (m *RespKeyConfig) GetCode() Code

func (*RespKeyConfig) GetErrMsg

func (m *RespKeyConfig) GetErrMsg() string

func (*RespKeyConfig) GetPriKeyFilePath

func (m *RespKeyConfig) GetPriKeyFilePath() string

func (*RespKeyConfig) GetPubKeyFilePath

func (m *RespKeyConfig) GetPubKeyFilePath() string

func (*RespKeyConfig) ProtoMessage

func (*RespKeyConfig) ProtoMessage()

func (*RespKeyConfig) Reset

func (m *RespKeyConfig) Reset()

func (*RespKeyConfig) String

func (m *RespKeyConfig) String() string

func (*RespKeyConfig) XXX_DiscardUnknown

func (m *RespKeyConfig) XXX_DiscardUnknown()

func (*RespKeyConfig) XXX_Marshal

func (m *RespKeyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespKeyConfig) XXX_Merge

func (m *RespKeyConfig) XXX_Merge(src proto.Message)

func (*RespKeyConfig) XXX_Size

func (m *RespKeyConfig) XXX_Size() int

func (*RespKeyConfig) XXX_Unmarshal

func (m *RespKeyConfig) XXX_Unmarshal(b []byte) error

type RsaAlgorithm

type RsaAlgorithm int32
const (
	RsaAlgorithm_r2048 RsaAlgorithm = 0
	RsaAlgorithm_r4096 RsaAlgorithm = 1
)

func (RsaAlgorithm) EnumDescriptor

func (RsaAlgorithm) EnumDescriptor() ([]byte, []int)

func (RsaAlgorithm) String

func (x RsaAlgorithm) String() string

type SignAlgorithm

type SignAlgorithm int32
const (
	SignAlgorithm_SHA256WithRSA   SignAlgorithm = 0
	SignAlgorithm_SHA512WithRSA   SignAlgorithm = 1
	SignAlgorithm_ECDSAWithSHA256 SignAlgorithm = 2
	SignAlgorithm_ECDSAWithSHA384 SignAlgorithm = 3
	SignAlgorithm_ECDSAWithSHA512 SignAlgorithm = 4
)

func (SignAlgorithm) EnumDescriptor

func (SignAlgorithm) EnumDescriptor() ([]byte, []int)

func (SignAlgorithm) String

func (x SignAlgorithm) String() string

Jump to

Keyboard shortcuts

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