members

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gds_members_v1alpha1_members_proto protoreflect.FileDescriptor
View Source
var TRISAMembers_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gds.members.v1alpha1.TRISAMembers",
	HandlerType: (*TRISAMembersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _TRISAMembers_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gds/members/v1alpha1/members.proto",
}

TRISAMembers_ServiceDesc is the grpc.ServiceDesc for TRISAMembers service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTRISAMembersServer

func RegisterTRISAMembersServer(s grpc.ServiceRegistrar, srv TRISAMembersServer)

Types

type ListReply

type ListReply struct {
	Vasps         []*VASPMember `protobuf:"bytes,1,rep,name=vasps,proto3" json:"vasps,omitempty"`                                        // a list of VASP information for the requested page
	NextPageToken string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // if specified, another page of results exists
	// contains filtered or unexported fields
}

ListReply returns an abbreviated listing of VASP details intended to facilitate p2p key exchanges or more detailed lookups against the Directory Service.

func (*ListReply) Descriptor deprecated

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

Deprecated: Use ListReply.ProtoReflect.Descriptor instead.

func (*ListReply) GetNextPageToken

func (x *ListReply) GetNextPageToken() string

func (*ListReply) GetVasps

func (x *ListReply) GetVasps() []*VASPMember

func (*ListReply) ProtoMessage

func (*ListReply) ProtoMessage()

func (*ListReply) ProtoReflect

func (x *ListReply) ProtoReflect() protoreflect.Message

func (*ListReply) Reset

func (x *ListReply) Reset()

func (*ListReply) String

func (x *ListReply) String() string

type ListRequest

type ListRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`   // specify the number of results per page, cannot change between page requests (default 100)
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // specify the page token to fetch the next page of results
	// contains filtered or unexported fields
}

ListRequest manages paginating the VASP listing. If there are more results than the specified page size, then the ListReply will return a page token; that token can be used to fetch the next page so long as the parameters of the original request are not modified (e.g. any filters or pagination parameters). See https://cloud.google.com/apis/design/design_patterns#list_pagination for more.

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetPageSize

func (x *ListRequest) GetPageSize() int32

func (*ListRequest) GetPageToken

func (x *ListRequest) GetPageToken() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

func (x *ListRequest) ProtoReflect() protoreflect.Message

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type TRISAMembersClient

type TRISAMembersClient interface {
	// List all verified VASP members in the Directory Service.
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListReply, error)
}

TRISAMembersClient is the client API for TRISAMembers service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TRISAMembersServer

type TRISAMembersServer interface {
	// List all verified VASP members in the Directory Service.
	List(context.Context, *ListRequest) (*ListReply, error)
	// contains filtered or unexported methods
}

TRISAMembersServer is the server API for TRISAMembers service. All implementations must embed UnimplementedTRISAMembersServer for forward compatibility

type UnimplementedTRISAMembersServer

type UnimplementedTRISAMembersServer struct {
}

UnimplementedTRISAMembersServer must be embedded to have forward compatible implementations.

func (UnimplementedTRISAMembersServer) List

type UnsafeTRISAMembersServer

type UnsafeTRISAMembersServer interface {
	// contains filtered or unexported methods
}

UnsafeTRISAMembersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TRISAMembersServer will result in compilation errors.

type VASPMember

type VASPMember struct {

	// The uniquely identifying components of the VASP in the directory service
	Id                  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RegisteredDirectory string `protobuf:"bytes,2,opt,name=registered_directory,json=registeredDirectory,proto3" json:"registered_directory,omitempty"`
	CommonName          string `protobuf:"bytes,3,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// Address to connect to the remote VASP on to perform a TRISA request
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Extra details used to faciliate searches and matching
	Name             string                   `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Website          string                   `protobuf:"bytes,6,opt,name=website,proto3" json:"website,omitempty"`
	Country          string                   `protobuf:"bytes,7,opt,name=country,proto3" json:"country,omitempty"`
	BusinessCategory v1beta1.BusinessCategory `` /* 157-byte string literal not displayed */
	VaspCategories   []string                 `protobuf:"bytes,9,rep,name=vasp_categories,json=vaspCategories,proto3" json:"vasp_categories,omitempty"`
	VerifiedOn       string                   `protobuf:"bytes,10,opt,name=verified_on,json=verifiedOn,proto3" json:"verified_on,omitempty"`
	// contains filtered or unexported fields
}

VASPMember is a lightweight data structure containing enough information to facilitate p2p exchanges or more detailed lookups against the Directory Service.

func (*VASPMember) Descriptor deprecated

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

Deprecated: Use VASPMember.ProtoReflect.Descriptor instead.

func (*VASPMember) GetBusinessCategory

func (x *VASPMember) GetBusinessCategory() v1beta1.BusinessCategory

func (*VASPMember) GetCommonName

func (x *VASPMember) GetCommonName() string

func (*VASPMember) GetCountry

func (x *VASPMember) GetCountry() string

func (*VASPMember) GetEndpoint

func (x *VASPMember) GetEndpoint() string

func (*VASPMember) GetId

func (x *VASPMember) GetId() string

func (*VASPMember) GetName

func (x *VASPMember) GetName() string

func (*VASPMember) GetRegisteredDirectory

func (x *VASPMember) GetRegisteredDirectory() string

func (*VASPMember) GetVaspCategories

func (x *VASPMember) GetVaspCategories() []string

func (*VASPMember) GetVerifiedOn

func (x *VASPMember) GetVerifiedOn() string

func (*VASPMember) GetWebsite

func (x *VASPMember) GetWebsite() string

func (*VASPMember) ProtoMessage

func (*VASPMember) ProtoMessage()

func (*VASPMember) ProtoReflect

func (x *VASPMember) ProtoReflect() protoreflect.Message

func (*VASPMember) Reset

func (x *VASPMember) Reset()

func (*VASPMember) String

func (x *VASPMember) String() string

Jump to

Keyboard shortcuts

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