Documentation ¶
Index ¶
- type AcceptMemberRequest
- type AcceptMemberResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AcceptMember(request *AcceptMemberRequest) (response *AcceptMemberResponse, err error)
- func (client *Client) AcceptMemberWithCallback(request *AcceptMemberRequest, ...) <-chan int
- func (client *Client) AcceptMemberWithChan(request *AcceptMemberRequest) (<-chan *AcceptMemberResponse, <-chan error)
- func (client *Client) CreateVpcEndpoint(request *CreateVpcEndpointRequest) (response *CreateVpcEndpointResponse, err error)
- func (client *Client) CreateVpcEndpointWithCallback(request *CreateVpcEndpointRequest, ...) <-chan int
- func (client *Client) CreateVpcEndpointWithChan(request *CreateVpcEndpointRequest) (<-chan *CreateVpcEndpointResponse, <-chan error)
- func (client *Client) DeleteLedger(request *DeleteLedgerRequest) (response *DeleteLedgerResponse, err error)
- func (client *Client) DeleteLedgerWithCallback(request *DeleteLedgerRequest, ...) <-chan int
- func (client *Client) DeleteLedgerWithChan(request *DeleteLedgerRequest) (<-chan *DeleteLedgerResponse, <-chan error)
- func (client *Client) DeleteMember(request *DeleteMemberRequest) (response *DeleteMemberResponse, err error)
- func (client *Client) DeleteMemberWithCallback(request *DeleteMemberRequest, ...) <-chan int
- func (client *Client) DeleteMemberWithChan(request *DeleteMemberRequest) (<-chan *DeleteMemberResponse, <-chan error)
- func (client *Client) DeleteVpcEndpoint(request *DeleteVpcEndpointRequest) (response *DeleteVpcEndpointResponse, err error)
- func (client *Client) DeleteVpcEndpointWithCallback(request *DeleteVpcEndpointRequest, ...) <-chan int
- func (client *Client) DeleteVpcEndpointWithChan(request *DeleteVpcEndpointRequest) (<-chan *DeleteVpcEndpointResponse, <-chan error)
- func (client *Client) DescribeLedger(request *DescribeLedgerRequest) (response *DescribeLedgerResponse, err error)
- func (client *Client) DescribeLedgerWithCallback(request *DescribeLedgerRequest, ...) <-chan int
- func (client *Client) DescribeLedgerWithChan(request *DescribeLedgerRequest) (<-chan *DescribeLedgerResponse, <-chan error)
- func (client *Client) DescribeLedgers(request *DescribeLedgersRequest) (response *DescribeLedgersResponse, err error)
- func (client *Client) DescribeLedgersWithCallback(request *DescribeLedgersRequest, ...) <-chan int
- func (client *Client) DescribeLedgersWithChan(request *DescribeLedgersRequest) (<-chan *DescribeLedgersResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DisableMember(request *DisableMemberRequest) (response *DisableMemberResponse, err error)
- func (client *Client) DisableMemberWithCallback(request *DisableMemberRequest, ...) <-chan int
- func (client *Client) DisableMemberWithChan(request *DisableMemberRequest) (<-chan *DisableMemberResponse, <-chan error)
- func (client *Client) EnableMember(request *EnableMemberRequest) (response *EnableMemberResponse, err error)
- func (client *Client) EnableMemberWithCallback(request *EnableMemberRequest, ...) <-chan int
- func (client *Client) EnableMemberWithChan(request *EnableMemberRequest) (<-chan *EnableMemberResponse, <-chan error)
- func (client *Client) GetJournal(request *GetJournalRequest) (response *GetJournalResponse, err error)
- func (client *Client) GetJournalWithCallback(request *GetJournalRequest, ...) <-chan int
- func (client *Client) GetJournalWithChan(request *GetJournalRequest) (<-chan *GetJournalResponse, <-chan error)
- func (client *Client) GetMember(request *GetMemberRequest) (response *GetMemberResponse, err error)
- func (client *Client) GetMemberWithCallback(request *GetMemberRequest, ...) <-chan int
- func (client *Client) GetMemberWithChan(request *GetMemberRequest) (<-chan *GetMemberResponse, <-chan error)
- func (client *Client) InviteMembers(request *InviteMembersRequest) (response *InviteMembersResponse, err error)
- func (client *Client) InviteMembersWithCallback(request *InviteMembersRequest, ...) <-chan int
- func (client *Client) InviteMembersWithChan(request *InviteMembersRequest) (<-chan *InviteMembersResponse, <-chan error)
- func (client *Client) ListJournals(request *ListJournalsRequest) (response *ListJournalsResponse, err error)
- func (client *Client) ListJournalsWithCallback(request *ListJournalsRequest, ...) <-chan int
- func (client *Client) ListJournalsWithChan(request *ListJournalsRequest) (<-chan *ListJournalsResponse, <-chan error)
- func (client *Client) ListMembers(request *ListMembersRequest) (response *ListMembersResponse, err error)
- func (client *Client) ListMembersWithCallback(request *ListMembersRequest, ...) <-chan int
- func (client *Client) ListMembersWithChan(request *ListMembersRequest) (<-chan *ListMembersResponse, <-chan error)
- func (client *Client) ListTimeAnchors(request *ListTimeAnchorsRequest) (response *ListTimeAnchorsResponse, err error)
- func (client *Client) ListTimeAnchorsWithCallback(request *ListTimeAnchorsRequest, ...) <-chan int
- func (client *Client) ListTimeAnchorsWithChan(request *ListTimeAnchorsRequest) (<-chan *ListTimeAnchorsResponse, <-chan error)
- func (client *Client) ListVpcEndpoints(request *ListVpcEndpointsRequest) (response *ListVpcEndpointsResponse, err error)
- func (client *Client) ListVpcEndpointsWithCallback(request *ListVpcEndpointsRequest, ...) <-chan int
- func (client *Client) ListVpcEndpointsWithChan(request *ListVpcEndpointsRequest) (<-chan *ListVpcEndpointsResponse, <-chan error)
- func (client *Client) ModifyLedgerAttribute(request *ModifyLedgerAttributeRequest) (response *ModifyLedgerAttributeResponse, err error)
- func (client *Client) ModifyLedgerAttributeWithCallback(request *ModifyLedgerAttributeRequest, ...) <-chan int
- func (client *Client) ModifyLedgerAttributeWithChan(request *ModifyLedgerAttributeRequest) (<-chan *ModifyLedgerAttributeResponse, <-chan error)
- func (client *Client) ModifyMemberACLs(request *ModifyMemberACLsRequest) (response *ModifyMemberACLsResponse, err error)
- func (client *Client) ModifyMemberACLsWithCallback(request *ModifyMemberACLsRequest, ...) <-chan int
- func (client *Client) ModifyMemberACLsWithChan(request *ModifyMemberACLsRequest) (<-chan *ModifyMemberACLsResponse, <-chan error)
- func (client *Client) ModifyMemberKey(request *ModifyMemberKeyRequest) (response *ModifyMemberKeyResponse, err error)
- func (client *Client) ModifyMemberKeyWithCallback(request *ModifyMemberKeyRequest, ...) <-chan int
- func (client *Client) ModifyMemberKeyWithChan(request *ModifyMemberKeyRequest) (<-chan *ModifyMemberKeyResponse, <-chan error)
- type CluesInGetJournal
- type CluesInListJournals
- type CreateVpcEndpointRequest
- type CreateVpcEndpointResponse
- type DeleteLedgerRequest
- type DeleteLedgerResponse
- type DeleteMemberRequest
- type DeleteMemberResponse
- type DeleteVpcEndpointRequest
- type DeleteVpcEndpointResponse
- type DescribeLedgerRequest
- type DescribeLedgerResponse
- type DescribeLedgersRequest
- type DescribeLedgersResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DisableMemberRequest
- type DisableMemberResponse
- type EnableMemberRequest
- type EnableMemberResponse
- type GetJournalRequest
- type GetJournalResponse
- type GetMemberRequest
- type GetMemberResponse
- type InviteMembersRequest
- type InviteMembersResponse
- type Journal
- type Journals
- type LastTimeAnchor
- type Ledger
- type Ledgers
- type ListJournalsRequest
- type ListJournalsResponse
- type ListMembersRequest
- type ListMembersResponse
- type ListTimeAnchorsRequest
- type ListTimeAnchorsResponse
- type ListVpcEndpointsRequest
- type ListVpcEndpointsResponse
- type Member
- type Members
- type ModifyLedgerAttributeRequest
- type ModifyLedgerAttributeResponse
- type ModifyMemberACLsRequest
- type ModifyMemberACLsResponse
- type ModifyMemberKeyRequest
- type ModifyMemberKeyResponse
- type Regions
- type Result
- type TimeAnchor
- type TimeAnchors
- type VpcEndpoint
- type VpcEndpoints
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptMemberRequest ¶
type AcceptMemberRequest struct { *requests.RpcRequest PublicKey string `position:"Body" name:"PublicKey"` KeyType string `position:"Body" name:"KeyType"` LedgerId string `position:"Body" name:"LedgerId"` }
AcceptMemberRequest is the request struct for api AcceptMember
func CreateAcceptMemberRequest ¶
func CreateAcceptMemberRequest() (request *AcceptMemberRequest)
CreateAcceptMemberRequest creates a request to invoke AcceptMember API
type AcceptMemberResponse ¶
type AcceptMemberResponse struct { *responses.BaseResponse MemberId string `json:"MemberId" xml:"MemberId"` RequestId string `json:"RequestId" xml:"RequestId"` }
AcceptMemberResponse is the response struct for api AcceptMember
func CreateAcceptMemberResponse ¶
func CreateAcceptMemberResponse() (response *AcceptMemberResponse)
CreateAcceptMemberResponse creates a response to parse from AcceptMember response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AcceptMember ¶
func (client *Client) AcceptMember(request *AcceptMemberRequest) (response *AcceptMemberResponse, err error)
AcceptMember invokes the ledgerdb.AcceptMember API synchronously api document: https://help.aliyun.com/api/ledgerdb/acceptmember.html
func (*Client) AcceptMemberWithCallback ¶
func (client *Client) AcceptMemberWithCallback(request *AcceptMemberRequest, callback func(response *AcceptMemberResponse, err error)) <-chan int
AcceptMemberWithCallback invokes the ledgerdb.AcceptMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/acceptmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AcceptMemberWithChan ¶
func (client *Client) AcceptMemberWithChan(request *AcceptMemberRequest) (<-chan *AcceptMemberResponse, <-chan error)
AcceptMemberWithChan invokes the ledgerdb.AcceptMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/acceptmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateVpcEndpoint ¶
func (client *Client) CreateVpcEndpoint(request *CreateVpcEndpointRequest) (response *CreateVpcEndpointResponse, err error)
CreateVpcEndpoint invokes the ledgerdb.CreateVpcEndpoint API synchronously api document: https://help.aliyun.com/api/ledgerdb/createvpcendpoint.html
func (*Client) CreateVpcEndpointWithCallback ¶
func (client *Client) CreateVpcEndpointWithCallback(request *CreateVpcEndpointRequest, callback func(response *CreateVpcEndpointResponse, err error)) <-chan int
CreateVpcEndpointWithCallback invokes the ledgerdb.CreateVpcEndpoint API asynchronously api document: https://help.aliyun.com/api/ledgerdb/createvpcendpoint.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateVpcEndpointWithChan ¶
func (client *Client) CreateVpcEndpointWithChan(request *CreateVpcEndpointRequest) (<-chan *CreateVpcEndpointResponse, <-chan error)
CreateVpcEndpointWithChan invokes the ledgerdb.CreateVpcEndpoint API asynchronously api document: https://help.aliyun.com/api/ledgerdb/createvpcendpoint.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteLedger ¶
func (client *Client) DeleteLedger(request *DeleteLedgerRequest) (response *DeleteLedgerResponse, err error)
DeleteLedger invokes the ledgerdb.DeleteLedger API synchronously api document: https://help.aliyun.com/api/ledgerdb/deleteledger.html
func (*Client) DeleteLedgerWithCallback ¶
func (client *Client) DeleteLedgerWithCallback(request *DeleteLedgerRequest, callback func(response *DeleteLedgerResponse, err error)) <-chan int
DeleteLedgerWithCallback invokes the ledgerdb.DeleteLedger API asynchronously api document: https://help.aliyun.com/api/ledgerdb/deleteledger.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteLedgerWithChan ¶
func (client *Client) DeleteLedgerWithChan(request *DeleteLedgerRequest) (<-chan *DeleteLedgerResponse, <-chan error)
DeleteLedgerWithChan invokes the ledgerdb.DeleteLedger API asynchronously api document: https://help.aliyun.com/api/ledgerdb/deleteledger.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteMember ¶
func (client *Client) DeleteMember(request *DeleteMemberRequest) (response *DeleteMemberResponse, err error)
DeleteMember invokes the ledgerdb.DeleteMember API synchronously api document: https://help.aliyun.com/api/ledgerdb/deletemember.html
func (*Client) DeleteMemberWithCallback ¶
func (client *Client) DeleteMemberWithCallback(request *DeleteMemberRequest, callback func(response *DeleteMemberResponse, err error)) <-chan int
DeleteMemberWithCallback invokes the ledgerdb.DeleteMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/deletemember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteMemberWithChan ¶
func (client *Client) DeleteMemberWithChan(request *DeleteMemberRequest) (<-chan *DeleteMemberResponse, <-chan error)
DeleteMemberWithChan invokes the ledgerdb.DeleteMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/deletemember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteVpcEndpoint ¶
func (client *Client) DeleteVpcEndpoint(request *DeleteVpcEndpointRequest) (response *DeleteVpcEndpointResponse, err error)
DeleteVpcEndpoint invokes the ledgerdb.DeleteVpcEndpoint API synchronously api document: https://help.aliyun.com/api/ledgerdb/deletevpcendpoint.html
func (*Client) DeleteVpcEndpointWithCallback ¶
func (client *Client) DeleteVpcEndpointWithCallback(request *DeleteVpcEndpointRequest, callback func(response *DeleteVpcEndpointResponse, err error)) <-chan int
DeleteVpcEndpointWithCallback invokes the ledgerdb.DeleteVpcEndpoint API asynchronously api document: https://help.aliyun.com/api/ledgerdb/deletevpcendpoint.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteVpcEndpointWithChan ¶
func (client *Client) DeleteVpcEndpointWithChan(request *DeleteVpcEndpointRequest) (<-chan *DeleteVpcEndpointResponse, <-chan error)
DeleteVpcEndpointWithChan invokes the ledgerdb.DeleteVpcEndpoint API asynchronously api document: https://help.aliyun.com/api/ledgerdb/deletevpcendpoint.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeLedger ¶
func (client *Client) DescribeLedger(request *DescribeLedgerRequest) (response *DescribeLedgerResponse, err error)
DescribeLedger invokes the ledgerdb.DescribeLedger API synchronously api document: https://help.aliyun.com/api/ledgerdb/describeledger.html
func (*Client) DescribeLedgerWithCallback ¶
func (client *Client) DescribeLedgerWithCallback(request *DescribeLedgerRequest, callback func(response *DescribeLedgerResponse, err error)) <-chan int
DescribeLedgerWithCallback invokes the ledgerdb.DescribeLedger API asynchronously api document: https://help.aliyun.com/api/ledgerdb/describeledger.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeLedgerWithChan ¶
func (client *Client) DescribeLedgerWithChan(request *DescribeLedgerRequest) (<-chan *DescribeLedgerResponse, <-chan error)
DescribeLedgerWithChan invokes the ledgerdb.DescribeLedger API asynchronously api document: https://help.aliyun.com/api/ledgerdb/describeledger.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeLedgers ¶
func (client *Client) DescribeLedgers(request *DescribeLedgersRequest) (response *DescribeLedgersResponse, err error)
DescribeLedgers invokes the ledgerdb.DescribeLedgers API synchronously api document: https://help.aliyun.com/api/ledgerdb/describeledgers.html
func (*Client) DescribeLedgersWithCallback ¶
func (client *Client) DescribeLedgersWithCallback(request *DescribeLedgersRequest, callback func(response *DescribeLedgersResponse, err error)) <-chan int
DescribeLedgersWithCallback invokes the ledgerdb.DescribeLedgers API asynchronously api document: https://help.aliyun.com/api/ledgerdb/describeledgers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeLedgersWithChan ¶
func (client *Client) DescribeLedgersWithChan(request *DescribeLedgersRequest) (<-chan *DescribeLedgersResponse, <-chan error)
DescribeLedgersWithChan invokes the ledgerdb.DescribeLedgers API asynchronously api document: https://help.aliyun.com/api/ledgerdb/describeledgers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the ledgerdb.DescribeRegions API synchronously api document: https://help.aliyun.com/api/ledgerdb/describeregions.html
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the ledgerdb.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/ledgerdb/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the ledgerdb.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/ledgerdb/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DisableMember ¶
func (client *Client) DisableMember(request *DisableMemberRequest) (response *DisableMemberResponse, err error)
DisableMember invokes the ledgerdb.DisableMember API synchronously api document: https://help.aliyun.com/api/ledgerdb/disablemember.html
func (*Client) DisableMemberWithCallback ¶
func (client *Client) DisableMemberWithCallback(request *DisableMemberRequest, callback func(response *DisableMemberResponse, err error)) <-chan int
DisableMemberWithCallback invokes the ledgerdb.DisableMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/disablemember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DisableMemberWithChan ¶
func (client *Client) DisableMemberWithChan(request *DisableMemberRequest) (<-chan *DisableMemberResponse, <-chan error)
DisableMemberWithChan invokes the ledgerdb.DisableMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/disablemember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) EnableMember ¶
func (client *Client) EnableMember(request *EnableMemberRequest) (response *EnableMemberResponse, err error)
EnableMember invokes the ledgerdb.EnableMember API synchronously api document: https://help.aliyun.com/api/ledgerdb/enablemember.html
func (*Client) EnableMemberWithCallback ¶
func (client *Client) EnableMemberWithCallback(request *EnableMemberRequest, callback func(response *EnableMemberResponse, err error)) <-chan int
EnableMemberWithCallback invokes the ledgerdb.EnableMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/enablemember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) EnableMemberWithChan ¶
func (client *Client) EnableMemberWithChan(request *EnableMemberRequest) (<-chan *EnableMemberResponse, <-chan error)
EnableMemberWithChan invokes the ledgerdb.EnableMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/enablemember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetJournal ¶
func (client *Client) GetJournal(request *GetJournalRequest) (response *GetJournalResponse, err error)
GetJournal invokes the ledgerdb.GetJournal API synchronously api document: https://help.aliyun.com/api/ledgerdb/getjournal.html
func (*Client) GetJournalWithCallback ¶
func (client *Client) GetJournalWithCallback(request *GetJournalRequest, callback func(response *GetJournalResponse, err error)) <-chan int
GetJournalWithCallback invokes the ledgerdb.GetJournal API asynchronously api document: https://help.aliyun.com/api/ledgerdb/getjournal.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetJournalWithChan ¶
func (client *Client) GetJournalWithChan(request *GetJournalRequest) (<-chan *GetJournalResponse, <-chan error)
GetJournalWithChan invokes the ledgerdb.GetJournal API asynchronously api document: https://help.aliyun.com/api/ledgerdb/getjournal.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetMember ¶
func (client *Client) GetMember(request *GetMemberRequest) (response *GetMemberResponse, err error)
GetMember invokes the ledgerdb.GetMember API synchronously api document: https://help.aliyun.com/api/ledgerdb/getmember.html
func (*Client) GetMemberWithCallback ¶
func (client *Client) GetMemberWithCallback(request *GetMemberRequest, callback func(response *GetMemberResponse, err error)) <-chan int
GetMemberWithCallback invokes the ledgerdb.GetMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/getmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GetMemberWithChan ¶
func (client *Client) GetMemberWithChan(request *GetMemberRequest) (<-chan *GetMemberResponse, <-chan error)
GetMemberWithChan invokes the ledgerdb.GetMember API asynchronously api document: https://help.aliyun.com/api/ledgerdb/getmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) InviteMembers ¶
func (client *Client) InviteMembers(request *InviteMembersRequest) (response *InviteMembersResponse, err error)
InviteMembers invokes the ledgerdb.InviteMembers API synchronously api document: https://help.aliyun.com/api/ledgerdb/invitemembers.html
func (*Client) InviteMembersWithCallback ¶
func (client *Client) InviteMembersWithCallback(request *InviteMembersRequest, callback func(response *InviteMembersResponse, err error)) <-chan int
InviteMembersWithCallback invokes the ledgerdb.InviteMembers API asynchronously api document: https://help.aliyun.com/api/ledgerdb/invitemembers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) InviteMembersWithChan ¶
func (client *Client) InviteMembersWithChan(request *InviteMembersRequest) (<-chan *InviteMembersResponse, <-chan error)
InviteMembersWithChan invokes the ledgerdb.InviteMembers API asynchronously api document: https://help.aliyun.com/api/ledgerdb/invitemembers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListJournals ¶
func (client *Client) ListJournals(request *ListJournalsRequest) (response *ListJournalsResponse, err error)
ListJournals invokes the ledgerdb.ListJournals API synchronously api document: https://help.aliyun.com/api/ledgerdb/listjournals.html
func (*Client) ListJournalsWithCallback ¶
func (client *Client) ListJournalsWithCallback(request *ListJournalsRequest, callback func(response *ListJournalsResponse, err error)) <-chan int
ListJournalsWithCallback invokes the ledgerdb.ListJournals API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listjournals.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListJournalsWithChan ¶
func (client *Client) ListJournalsWithChan(request *ListJournalsRequest) (<-chan *ListJournalsResponse, <-chan error)
ListJournalsWithChan invokes the ledgerdb.ListJournals API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listjournals.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListMembers ¶
func (client *Client) ListMembers(request *ListMembersRequest) (response *ListMembersResponse, err error)
ListMembers invokes the ledgerdb.ListMembers API synchronously api document: https://help.aliyun.com/api/ledgerdb/listmembers.html
func (*Client) ListMembersWithCallback ¶
func (client *Client) ListMembersWithCallback(request *ListMembersRequest, callback func(response *ListMembersResponse, err error)) <-chan int
ListMembersWithCallback invokes the ledgerdb.ListMembers API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listmembers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListMembersWithChan ¶
func (client *Client) ListMembersWithChan(request *ListMembersRequest) (<-chan *ListMembersResponse, <-chan error)
ListMembersWithChan invokes the ledgerdb.ListMembers API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listmembers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListTimeAnchors ¶
func (client *Client) ListTimeAnchors(request *ListTimeAnchorsRequest) (response *ListTimeAnchorsResponse, err error)
ListTimeAnchors invokes the ledgerdb.ListTimeAnchors API synchronously api document: https://help.aliyun.com/api/ledgerdb/listtimeanchors.html
func (*Client) ListTimeAnchorsWithCallback ¶
func (client *Client) ListTimeAnchorsWithCallback(request *ListTimeAnchorsRequest, callback func(response *ListTimeAnchorsResponse, err error)) <-chan int
ListTimeAnchorsWithCallback invokes the ledgerdb.ListTimeAnchors API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listtimeanchors.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListTimeAnchorsWithChan ¶
func (client *Client) ListTimeAnchorsWithChan(request *ListTimeAnchorsRequest) (<-chan *ListTimeAnchorsResponse, <-chan error)
ListTimeAnchorsWithChan invokes the ledgerdb.ListTimeAnchors API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listtimeanchors.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListVpcEndpoints ¶
func (client *Client) ListVpcEndpoints(request *ListVpcEndpointsRequest) (response *ListVpcEndpointsResponse, err error)
ListVpcEndpoints invokes the ledgerdb.ListVpcEndpoints API synchronously api document: https://help.aliyun.com/api/ledgerdb/listvpcendpoints.html
func (*Client) ListVpcEndpointsWithCallback ¶
func (client *Client) ListVpcEndpointsWithCallback(request *ListVpcEndpointsRequest, callback func(response *ListVpcEndpointsResponse, err error)) <-chan int
ListVpcEndpointsWithCallback invokes the ledgerdb.ListVpcEndpoints API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listvpcendpoints.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListVpcEndpointsWithChan ¶
func (client *Client) ListVpcEndpointsWithChan(request *ListVpcEndpointsRequest) (<-chan *ListVpcEndpointsResponse, <-chan error)
ListVpcEndpointsWithChan invokes the ledgerdb.ListVpcEndpoints API asynchronously api document: https://help.aliyun.com/api/ledgerdb/listvpcendpoints.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyLedgerAttribute ¶
func (client *Client) ModifyLedgerAttribute(request *ModifyLedgerAttributeRequest) (response *ModifyLedgerAttributeResponse, err error)
ModifyLedgerAttribute invokes the ledgerdb.ModifyLedgerAttribute API synchronously api document: https://help.aliyun.com/api/ledgerdb/modifyledgerattribute.html
func (*Client) ModifyLedgerAttributeWithCallback ¶
func (client *Client) ModifyLedgerAttributeWithCallback(request *ModifyLedgerAttributeRequest, callback func(response *ModifyLedgerAttributeResponse, err error)) <-chan int
ModifyLedgerAttributeWithCallback invokes the ledgerdb.ModifyLedgerAttribute API asynchronously api document: https://help.aliyun.com/api/ledgerdb/modifyledgerattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyLedgerAttributeWithChan ¶
func (client *Client) ModifyLedgerAttributeWithChan(request *ModifyLedgerAttributeRequest) (<-chan *ModifyLedgerAttributeResponse, <-chan error)
ModifyLedgerAttributeWithChan invokes the ledgerdb.ModifyLedgerAttribute API asynchronously api document: https://help.aliyun.com/api/ledgerdb/modifyledgerattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyMemberACLs ¶
func (client *Client) ModifyMemberACLs(request *ModifyMemberACLsRequest) (response *ModifyMemberACLsResponse, err error)
ModifyMemberACLs invokes the ledgerdb.ModifyMemberACLs API synchronously api document: https://help.aliyun.com/api/ledgerdb/modifymemberacls.html
func (*Client) ModifyMemberACLsWithCallback ¶
func (client *Client) ModifyMemberACLsWithCallback(request *ModifyMemberACLsRequest, callback func(response *ModifyMemberACLsResponse, err error)) <-chan int
ModifyMemberACLsWithCallback invokes the ledgerdb.ModifyMemberACLs API asynchronously api document: https://help.aliyun.com/api/ledgerdb/modifymemberacls.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyMemberACLsWithChan ¶
func (client *Client) ModifyMemberACLsWithChan(request *ModifyMemberACLsRequest) (<-chan *ModifyMemberACLsResponse, <-chan error)
ModifyMemberACLsWithChan invokes the ledgerdb.ModifyMemberACLs API asynchronously api document: https://help.aliyun.com/api/ledgerdb/modifymemberacls.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyMemberKey ¶
func (client *Client) ModifyMemberKey(request *ModifyMemberKeyRequest) (response *ModifyMemberKeyResponse, err error)
ModifyMemberKey invokes the ledgerdb.ModifyMemberKey API synchronously api document: https://help.aliyun.com/api/ledgerdb/modifymemberkey.html
func (*Client) ModifyMemberKeyWithCallback ¶
func (client *Client) ModifyMemberKeyWithCallback(request *ModifyMemberKeyRequest, callback func(response *ModifyMemberKeyResponse, err error)) <-chan int
ModifyMemberKeyWithCallback invokes the ledgerdb.ModifyMemberKey API asynchronously api document: https://help.aliyun.com/api/ledgerdb/modifymemberkey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyMemberKeyWithChan ¶
func (client *Client) ModifyMemberKeyWithChan(request *ModifyMemberKeyRequest) (<-chan *ModifyMemberKeyResponse, <-chan error)
ModifyMemberKeyWithChan invokes the ledgerdb.ModifyMemberKey API asynchronously api document: https://help.aliyun.com/api/ledgerdb/modifymemberkey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type CluesInGetJournal ¶
type CluesInGetJournal struct {
Clue []string `json:"Clue" xml:"Clue"`
}
CluesInGetJournal is a nested struct in ledgerdb response
type CluesInListJournals ¶
type CluesInListJournals struct {
Clue []string `json:"Clue" xml:"Clue"`
}
CluesInListJournals is a nested struct in ledgerdb response
type CreateVpcEndpointRequest ¶
type CreateVpcEndpointRequest struct { *requests.RpcRequest ClientToken string `position:"Body" name:"ClientToken"` LedgerId string `position:"Body" name:"LedgerId"` VSwitchId string `position:"Body" name:"VSwitchId"` VpcId string `position:"Body" name:"VpcId"` }
CreateVpcEndpointRequest is the request struct for api CreateVpcEndpoint
func CreateCreateVpcEndpointRequest ¶
func CreateCreateVpcEndpointRequest() (request *CreateVpcEndpointRequest)
CreateCreateVpcEndpointRequest creates a request to invoke CreateVpcEndpoint API
type CreateVpcEndpointResponse ¶
type CreateVpcEndpointResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` VpcEndpointId string `json:"VpcEndpointId" xml:"VpcEndpointId"` }
CreateVpcEndpointResponse is the response struct for api CreateVpcEndpoint
func CreateCreateVpcEndpointResponse ¶
func CreateCreateVpcEndpointResponse() (response *CreateVpcEndpointResponse)
CreateCreateVpcEndpointResponse creates a response to parse from CreateVpcEndpoint response
type DeleteLedgerRequest ¶
type DeleteLedgerRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` }
DeleteLedgerRequest is the request struct for api DeleteLedger
func CreateDeleteLedgerRequest ¶
func CreateDeleteLedgerRequest() (request *DeleteLedgerRequest)
CreateDeleteLedgerRequest creates a request to invoke DeleteLedger API
type DeleteLedgerResponse ¶
type DeleteLedgerResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteLedgerResponse is the response struct for api DeleteLedger
func CreateDeleteLedgerResponse ¶
func CreateDeleteLedgerResponse() (response *DeleteLedgerResponse)
CreateDeleteLedgerResponse creates a response to parse from DeleteLedger response
type DeleteMemberRequest ¶
type DeleteMemberRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` MemberId string `position:"Query" name:"MemberId"` }
DeleteMemberRequest is the request struct for api DeleteMember
func CreateDeleteMemberRequest ¶
func CreateDeleteMemberRequest() (request *DeleteMemberRequest)
CreateDeleteMemberRequest creates a request to invoke DeleteMember API
type DeleteMemberResponse ¶
type DeleteMemberResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteMemberResponse is the response struct for api DeleteMember
func CreateDeleteMemberResponse ¶
func CreateDeleteMemberResponse() (response *DeleteMemberResponse)
CreateDeleteMemberResponse creates a response to parse from DeleteMember response
type DeleteVpcEndpointRequest ¶
type DeleteVpcEndpointRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` VSwitchId string `position:"Query" name:"VSwitchId"` VpcId string `position:"Query" name:"VpcId"` VpcEndpointId string `position:"Query" name:"VpcEndpointId"` }
DeleteVpcEndpointRequest is the request struct for api DeleteVpcEndpoint
func CreateDeleteVpcEndpointRequest ¶
func CreateDeleteVpcEndpointRequest() (request *DeleteVpcEndpointRequest)
CreateDeleteVpcEndpointRequest creates a request to invoke DeleteVpcEndpoint API
type DeleteVpcEndpointResponse ¶
type DeleteVpcEndpointResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteVpcEndpointResponse is the response struct for api DeleteVpcEndpoint
func CreateDeleteVpcEndpointResponse ¶
func CreateDeleteVpcEndpointResponse() (response *DeleteVpcEndpointResponse)
CreateDeleteVpcEndpointResponse creates a response to parse from DeleteVpcEndpoint response
type DescribeLedgerRequest ¶
type DescribeLedgerRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` }
DescribeLedgerRequest is the request struct for api DescribeLedger
func CreateDescribeLedgerRequest ¶
func CreateDescribeLedgerRequest() (request *DescribeLedgerRequest)
CreateDescribeLedgerRequest creates a request to invoke DescribeLedger API
type DescribeLedgerResponse ¶
type DescribeLedgerResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Ledger Ledger `json:"Ledger" xml:"Ledger"` }
DescribeLedgerResponse is the response struct for api DescribeLedger
func CreateDescribeLedgerResponse ¶
func CreateDescribeLedgerResponse() (response *DescribeLedgerResponse)
CreateDescribeLedgerResponse creates a response to parse from DescribeLedger response
type DescribeLedgersRequest ¶
type DescribeLedgersRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
DescribeLedgersRequest is the request struct for api DescribeLedgers
func CreateDescribeLedgersRequest ¶
func CreateDescribeLedgersRequest() (request *DescribeLedgersRequest)
CreateDescribeLedgersRequest creates a request to invoke DescribeLedgers API
type DescribeLedgersResponse ¶
type DescribeLedgersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` Ledgers []Ledger `json:"Ledgers" xml:"Ledgers"` }
DescribeLedgersResponse is the response struct for api DescribeLedgers
func CreateDescribeLedgersResponse ¶
func CreateDescribeLedgersResponse() (response *DescribeLedgersResponse)
CreateDescribeLedgersResponse creates a response to parse from DescribeLedgers response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*requests.RpcRequest
}
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse ErrorCode int `json:"ErrorCode" xml:"ErrorCode"` RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` Regions []Result `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DisableMemberRequest ¶
type DisableMemberRequest struct { *requests.RpcRequest LedgerId string `position:"Body" name:"LedgerId"` MemberId string `position:"Body" name:"MemberId"` }
DisableMemberRequest is the request struct for api DisableMember
func CreateDisableMemberRequest ¶
func CreateDisableMemberRequest() (request *DisableMemberRequest)
CreateDisableMemberRequest creates a request to invoke DisableMember API
type DisableMemberResponse ¶
type DisableMemberResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DisableMemberResponse is the response struct for api DisableMember
func CreateDisableMemberResponse ¶
func CreateDisableMemberResponse() (response *DisableMemberResponse)
CreateDisableMemberResponse creates a response to parse from DisableMember response
type EnableMemberRequest ¶
type EnableMemberRequest struct { *requests.RpcRequest LedgerId string `position:"Body" name:"LedgerId"` MemberId string `position:"Body" name:"MemberId"` }
EnableMemberRequest is the request struct for api EnableMember
func CreateEnableMemberRequest ¶
func CreateEnableMemberRequest() (request *EnableMemberRequest)
CreateEnableMemberRequest creates a request to invoke EnableMember API
type EnableMemberResponse ¶
type EnableMemberResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
EnableMemberResponse is the response struct for api EnableMember
func CreateEnableMemberResponse ¶
func CreateEnableMemberResponse() (response *EnableMemberResponse)
CreateEnableMemberResponse creates a response to parse from EnableMember response
type GetJournalRequest ¶
type GetJournalRequest struct { *requests.RpcRequest JournalId requests.Integer `position:"Query" name:"JournalId"` LedgerId string `position:"Query" name:"LedgerId"` }
GetJournalRequest is the request struct for api GetJournal
func CreateGetJournalRequest ¶
func CreateGetJournalRequest() (request *GetJournalRequest)
CreateGetJournalRequest creates a request to invoke GetJournal API
type GetJournalResponse ¶
type GetJournalResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Journal Journal `json:"Journal" xml:"Journal"` }
GetJournalResponse is the response struct for api GetJournal
func CreateGetJournalResponse ¶
func CreateGetJournalResponse() (response *GetJournalResponse)
CreateGetJournalResponse creates a response to parse from GetJournal response
type GetMemberRequest ¶
type GetMemberRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` MemberId string `position:"Query" name:"MemberId"` }
GetMemberRequest is the request struct for api GetMember
func CreateGetMemberRequest ¶
func CreateGetMemberRequest() (request *GetMemberRequest)
CreateGetMemberRequest creates a request to invoke GetMember API
type GetMemberResponse ¶
type GetMemberResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` LedgerId string `json:"LedgerId" xml:"LedgerId"` MemberId string `json:"MemberId" xml:"MemberId"` AliUid string `json:"AliUid" xml:"AliUid"` KeyType string `json:"KeyType" xml:"KeyType"` PublicKey string `json:"PublicKey" xml:"PublicKey"` Role string `json:"Role" xml:"Role"` State string `json:"State" xml:"State"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` UpdateTime int64 `json:"UpdateTime" xml:"UpdateTime"` }
GetMemberResponse is the response struct for api GetMember
func CreateGetMemberResponse ¶
func CreateGetMemberResponse() (response *GetMemberResponse)
CreateGetMemberResponse creates a response to parse from GetMember response
type InviteMembersRequest ¶
type InviteMembersRequest struct { *requests.RpcRequest AliUids string `position:"Body" name:"AliUids"` LedgerId string `position:"Body" name:"LedgerId"` }
InviteMembersRequest is the request struct for api InviteMembers
func CreateInviteMembersRequest ¶
func CreateInviteMembersRequest() (request *InviteMembersRequest)
CreateInviteMembersRequest creates a request to invoke InviteMembers API
type InviteMembersResponse ¶
type InviteMembersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
InviteMembersResponse is the response struct for api InviteMembers
func CreateInviteMembersResponse ¶
func CreateInviteMembersResponse() (response *InviteMembersResponse)
CreateInviteMembersResponse creates a response to parse from InviteMembers response
type Journal ¶
type Journal struct { LedgerId string `json:"LedgerId" xml:"LedgerId"` ClientId string `json:"ClientId" xml:"ClientId"` JournalHash string `json:"JournalHash" xml:"JournalHash"` Timestamp int64 `json:"Timestamp" xml:"Timestamp"` PayloadType string `json:"PayloadType" xml:"PayloadType"` JournalId string `json:"JournalId" xml:"JournalId"` MemberId string `json:"MemberId" xml:"MemberId"` PayloadJsonString string `json:"PayloadJsonString" xml:"PayloadJsonString"` Clues []string `json:"Clues" xml:"Clues"` }
Journal is a nested struct in ledgerdb response
type Journals ¶
type Journals struct {
Journal []Journal `json:"Journal" xml:"Journal"`
}
Journals is a nested struct in ledgerdb response
type LastTimeAnchor ¶
type LastTimeAnchor struct { LedgerVersion string `json:"LedgerVersion" xml:"LedgerVersion"` LedgerDigest string `json:"LedgerDigest" xml:"LedgerDigest"` LedgerDigestType string `json:"LedgerDigestType" xml:"LedgerDigestType"` TimeStamp string `json:"TimeStamp" xml:"TimeStamp"` Proof string `json:"Proof" xml:"Proof"` JournalId string `json:"JournalId" xml:"JournalId"` }
LastTimeAnchor is a nested struct in ledgerdb response
type Ledger ¶
type Ledger struct { LedgerName string `json:"LedgerName" xml:"LedgerName"` LedgerId string `json:"LedgerId" xml:"LedgerId"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` LedgerStatus string `json:"LedgerStatus" xml:"LedgerStatus"` CreateTime string `json:"CreateTime" xml:"CreateTime"` OwnerAliUid string `json:"OwnerAliUid" xml:"OwnerAliUid"` TimeAnchorCount int64 `json:"TimeAnchorCount" xml:"TimeAnchorCount"` RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` JournalCount int64 `json:"JournalCount" xml:"JournalCount"` LedgerType string `json:"LedgerType" xml:"LedgerType"` LedgerDescription string `json:"LedgerDescription" xml:"LedgerDescription"` MemberCount int64 `json:"MemberCount" xml:"MemberCount"` LastTimeAnchor LastTimeAnchor `json:"LastTimeAnchor" xml:"LastTimeAnchor"` }
Ledger is a nested struct in ledgerdb response
type Ledgers ¶
type Ledgers struct {
Ledger []Ledger `json:"Ledger" xml:"Ledger"`
}
Ledgers is a nested struct in ledgerdb response
type ListJournalsRequest ¶
type ListJournalsRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` NextToken string `position:"Query" name:"NextToken"` Clue string `position:"Query" name:"Clue"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` MemberId string `position:"Query" name:"MemberId"` }
ListJournalsRequest is the request struct for api ListJournals
func CreateListJournalsRequest ¶
func CreateListJournalsRequest() (request *ListJournalsRequest)
CreateListJournalsRequest creates a request to invoke ListJournals API
type ListJournalsResponse ¶
type ListJournalsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` Journals []Journal `json:"Journals" xml:"Journals"` }
ListJournalsResponse is the response struct for api ListJournals
func CreateListJournalsResponse ¶
func CreateListJournalsResponse() (response *ListJournalsResponse)
CreateListJournalsResponse creates a response to parse from ListJournals response
type ListMembersRequest ¶
type ListMembersRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListMembersRequest is the request struct for api ListMembers
func CreateListMembersRequest ¶
func CreateListMembersRequest() (request *ListMembersRequest)
CreateListMembersRequest creates a request to invoke ListMembers API
type ListMembersResponse ¶
type ListMembersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` Members []Member `json:"Members" xml:"Members"` }
ListMembersResponse is the response struct for api ListMembers
func CreateListMembersResponse ¶
func CreateListMembersResponse() (response *ListMembersResponse)
CreateListMembersResponse creates a response to parse from ListMembers response
type ListTimeAnchorsRequest ¶
type ListTimeAnchorsRequest struct { *requests.RpcRequest Reverse requests.Boolean `position:"Query" name:"Reverse"` LedgerId string `position:"Query" name:"LedgerId"` NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListTimeAnchorsRequest is the request struct for api ListTimeAnchors
func CreateListTimeAnchorsRequest ¶
func CreateListTimeAnchorsRequest() (request *ListTimeAnchorsRequest)
CreateListTimeAnchorsRequest creates a request to invoke ListTimeAnchors API
type ListTimeAnchorsResponse ¶
type ListTimeAnchorsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` TimeAnchors []TimeAnchor `json:"TimeAnchors" xml:"TimeAnchors"` }
ListTimeAnchorsResponse is the response struct for api ListTimeAnchors
func CreateListTimeAnchorsResponse ¶
func CreateListTimeAnchorsResponse() (response *ListTimeAnchorsResponse)
CreateListTimeAnchorsResponse creates a response to parse from ListTimeAnchors response
type ListVpcEndpointsRequest ¶
type ListVpcEndpointsRequest struct { *requests.RpcRequest LedgerId string `position:"Query" name:"LedgerId"` NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListVpcEndpointsRequest is the request struct for api ListVpcEndpoints
func CreateListVpcEndpointsRequest ¶
func CreateListVpcEndpointsRequest() (request *ListVpcEndpointsRequest)
CreateListVpcEndpointsRequest creates a request to invoke ListVpcEndpoints API
type ListVpcEndpointsResponse ¶
type ListVpcEndpointsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` VpcEndpoints []VpcEndpoint `json:"VpcEndpoints" xml:"VpcEndpoints"` }
ListVpcEndpointsResponse is the response struct for api ListVpcEndpoints
func CreateListVpcEndpointsResponse ¶
func CreateListVpcEndpointsResponse() (response *ListVpcEndpointsResponse)
CreateListVpcEndpointsResponse creates a response to parse from ListVpcEndpoints response
type Member ¶
type Member struct { LedgerId string `json:"LedgerId" xml:"LedgerId"` MemberId string `json:"MemberId" xml:"MemberId"` AliUid string `json:"AliUid" xml:"AliUid"` KeyType string `json:"KeyType" xml:"KeyType"` PublicKey string `json:"PublicKey" xml:"PublicKey"` Role string `json:"Role" xml:"Role"` State string `json:"State" xml:"State"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` UpdateTime int64 `json:"UpdateTime" xml:"UpdateTime"` }
Member is a nested struct in ledgerdb response
type Members ¶
type Members struct {
Member []Member `json:"Member" xml:"Member"`
}
Members is a nested struct in ledgerdb response
type ModifyLedgerAttributeRequest ¶
type ModifyLedgerAttributeRequest struct { *requests.RpcRequest LedgerId string `position:"Body" name:"LedgerId"` LedgerName string `position:"Body" name:"LedgerName"` LedgerDescription string `position:"Body" name:"LedgerDescription"` }
ModifyLedgerAttributeRequest is the request struct for api ModifyLedgerAttribute
func CreateModifyLedgerAttributeRequest ¶
func CreateModifyLedgerAttributeRequest() (request *ModifyLedgerAttributeRequest)
CreateModifyLedgerAttributeRequest creates a request to invoke ModifyLedgerAttribute API
type ModifyLedgerAttributeResponse ¶
type ModifyLedgerAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyLedgerAttributeResponse is the response struct for api ModifyLedgerAttribute
func CreateModifyLedgerAttributeResponse ¶
func CreateModifyLedgerAttributeResponse() (response *ModifyLedgerAttributeResponse)
CreateModifyLedgerAttributeResponse creates a response to parse from ModifyLedgerAttribute response
type ModifyMemberACLsRequest ¶
type ModifyMemberACLsRequest struct { *requests.RpcRequest Role string `position:"Body" name:"Role"` LedgerId string `position:"Body" name:"LedgerId"` MemberId string `position:"Body" name:"MemberId"` }
ModifyMemberACLsRequest is the request struct for api ModifyMemberACLs
func CreateModifyMemberACLsRequest ¶
func CreateModifyMemberACLsRequest() (request *ModifyMemberACLsRequest)
CreateModifyMemberACLsRequest creates a request to invoke ModifyMemberACLs API
type ModifyMemberACLsResponse ¶
type ModifyMemberACLsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyMemberACLsResponse is the response struct for api ModifyMemberACLs
func CreateModifyMemberACLsResponse ¶
func CreateModifyMemberACLsResponse() (response *ModifyMemberACLsResponse)
CreateModifyMemberACLsResponse creates a response to parse from ModifyMemberACLs response
type ModifyMemberKeyRequest ¶
type ModifyMemberKeyRequest struct { *requests.RpcRequest PublicKey string `position:"Body" name:"PublicKey"` KeyType string `position:"Body" name:"KeyType"` LedgerId string `position:"Body" name:"LedgerId"` MemberId string `position:"Body" name:"MemberId"` }
ModifyMemberKeyRequest is the request struct for api ModifyMemberKey
func CreateModifyMemberKeyRequest ¶
func CreateModifyMemberKeyRequest() (request *ModifyMemberKeyRequest)
CreateModifyMemberKeyRequest creates a request to invoke ModifyMemberKey API
type ModifyMemberKeyResponse ¶
type ModifyMemberKeyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyMemberKeyResponse is the response struct for api ModifyMemberKey
func CreateModifyMemberKeyResponse ¶
func CreateModifyMemberKeyResponse() (response *ModifyMemberKeyResponse)
CreateModifyMemberKeyResponse creates a response to parse from ModifyMemberKey response
type Regions ¶
type Regions struct {
Result []Result `json:"Result" xml:"Result"`
}
Regions is a nested struct in ledgerdb response
type Result ¶
type Result struct { LocalName string `json:"LocalName" xml:"LocalName"` RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` RegionId string `json:"RegionId" xml:"RegionId"` }
Result is a nested struct in ledgerdb response
type TimeAnchor ¶
type TimeAnchor struct { JournalId int64 `json:"JournalId" xml:"JournalId"` LedgerVersion int64 `json:"LedgerVersion" xml:"LedgerVersion"` LedgerDigest string `json:"LedgerDigest" xml:"LedgerDigest"` LedgerDigestType string `json:"LedgerDigestType" xml:"LedgerDigestType"` TimeStamp int64 `json:"TimeStamp" xml:"TimeStamp"` Proof string `json:"Proof" xml:"Proof"` }
TimeAnchor is a nested struct in ledgerdb response
type TimeAnchors ¶
type TimeAnchors struct {
TimeAnchor []TimeAnchor `json:"TimeAnchor" xml:"TimeAnchor"`
}
TimeAnchors is a nested struct in ledgerdb response
type VpcEndpoint ¶
type VpcEndpoint struct { VpcEndpointId string `json:"VpcEndpointId" xml:"VpcEndpointId"` LedgerId string `json:"LedgerId" xml:"LedgerId"` MemberId string `json:"MemberId" xml:"MemberId"` RegionId string `json:"RegionId" xml:"RegionId"` VpcId string `json:"VpcId" xml:"VpcId"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` Address string `json:"Address" xml:"Address"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` Status string `json:"Status" xml:"Status"` }
VpcEndpoint is a nested struct in ledgerdb response
type VpcEndpoints ¶
type VpcEndpoints struct {
VpcEndpoint []VpcEndpoint `json:"VpcEndpoint" xml:"VpcEndpoint"`
}
VpcEndpoints is a nested struct in ledgerdb response
Source Files ¶
- accept_member.go
- client.go
- create_vpc_endpoint.go
- delete_ledger.go
- delete_member.go
- delete_vpc_endpoint.go
- describe_ledger.go
- describe_ledgers.go
- describe_regions.go
- disable_member.go
- enable_member.go
- get_journal.go
- get_member.go
- invite_members.go
- list_journals.go
- list_members.go
- list_time_anchors.go
- list_vpc_endpoints.go
- modify_ledger_attribute.go
- modify_member_ac_ls.go
- modify_member_key.go
- struct_clues_in_get_journal.go
- struct_clues_in_list_journals.go
- struct_journal.go
- struct_journals.go
- struct_last_time_anchor.go
- struct_ledger.go
- struct_ledgers.go
- struct_member.go
- struct_members.go
- struct_regions.go
- struct_result.go
- struct_time_anchor.go
- struct_time_anchors.go
- struct_vpc_endpoint.go
- struct_vpc_endpoints.go