types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: GPL-3.0 Imports: 30 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "registry"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_registry"
)
View Source
const (
	TypeMsgCreateWhoIs = "create_who_is"
	TypeMsgUpdateWhoIs = "update_who_is"
	TypeMsgDeleteWhoIs = "delete_who_is"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgAccessName = "access_name"
View Source
const TypeMsgAccessService = "access_service"
View Source
const TypeMsgRegisterName = "register_name"
View Source
const TypeMsgRegisterService = "register_service"
View Source
const TypeMsgUpdateName = "update_name"
View Source
const TypeMsgUpdateService = "update_service"
View Source
const (
	// WhoIsKeyPrefix is the prefix to retrieve all WhoIs
	WhoIsKeyPrefix = "WhoIs/value/"
)

Variables

View Source
var (
	ErrInvalidLengthConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPeer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPeer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPeer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthWhoIs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWhoIs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupWhoIs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Connection_name = map[int32]string{
	0: "CONNECTION_UNSPECIFIED",
	1: "CONNECTION_WIFI",
	2: "CONNECTION_ETHERNET",
	3: "CONNECTION_MOBILE",
	4: "CONNECTION_OFFLINE",
}
View Source
var Connection_value = map[string]int32{
	"CONNECTION_UNSPECIFIED": 0,
	"CONNECTION_WIFI":        1,
	"CONNECTION_ETHERNET":    2,
	"CONNECTION_MOBILE":      3,
	"CONNECTION_OFFLINE":     4,
}
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/registry module sentinel errors

View Source
var Peer_Status_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "STATUS_ONLINE",
	2: "STATUS_AWAY",
	3: "STATUS_BUSY",
}
View Source
var Peer_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"STATUS_ONLINE":      1,
	"STATUS_AWAY":        2,
	"STATUS_BUSY":        3,
}

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func WhoIsKey

func WhoIsKey(
	index string,
) []byte

WhoIsKey returns the store key to retrieve a WhoIs from the index fields

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type CapabilityKeeper

type CapabilityKeeper interface {
}

type Connection

type Connection int32

Internet Connection Type

const (
	Connection_CONNECTION_UNSPECIFIED Connection = 0
	// ConnectionWifi is used for WiFi connections.
	Connection_CONNECTION_WIFI Connection = 1
	// ConnectionEthernet is used for Ethernet connections.
	Connection_CONNECTION_ETHERNET Connection = 2
	// ConnectionMobile is used for mobile connections.
	Connection_CONNECTION_MOBILE Connection = 3
	// CONNECTION_OFFLINE
	Connection_CONNECTION_OFFLINE Connection = 4
)

func (Connection) EnumDescriptor

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

func (Connection) String

func (x Connection) String() string

type GenesisState

type GenesisState struct {
	Params    Params  `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	WhoIsList []WhoIs `protobuf:"bytes,2,rep,name=whoIsList,proto3" json:"whoIsList"`
}

GenesisState defines the registry module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetWhoIsList

func (m *GenesisState) GetWhoIsList() []WhoIs

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Location

type Location struct {
	// Location Latitude
	Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Location Longitude
	Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// Location Placemark Information - Generated
	Placemark *Location_Placemark `protobuf:"bytes,3,opt,name=placemark,proto3" json:"placemark,omitempty"`
	// Last Updated Time
	LastModified int64 `protobuf:"varint,4,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
}

Location from GeoIP and OLC information

func (*Location) Descriptor

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

func (*Location) GetLastModified

func (m *Location) GetLastModified() int64

func (*Location) GetLatitude

func (m *Location) GetLatitude() float64

func (*Location) GetLongitude

func (m *Location) GetLongitude() float64

func (*Location) GetPlacemark

func (m *Location) GetPlacemark() *Location_Placemark

func (*Location) Marshal

func (m *Location) Marshal() (dAtA []byte, err error)

func (*Location) MarshalTo

func (m *Location) MarshalTo(dAtA []byte) (int, error)

func (*Location) MarshalToSizedBuffer

func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) Size

func (m *Location) Size() (n int)

func (*Location) String

func (m *Location) String() string

func (*Location) Unmarshal

func (m *Location) Unmarshal(dAtA []byte) error

func (*Location) XXX_DiscardUnknown

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal

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

func (*Location) XXX_Merge

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

func (*Location) XXX_Size

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal

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

type Location_Placemark

type Location_Placemark struct {
	// The name associated with the placemark.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The street associated with the placemark.
	Street string `protobuf:"bytes,2,opt,name=street,proto3" json:"street,omitempty"`
	// The abbreviated country name, according to the two letter (alpha-2) [ISO
	// standard](https://www.iso.org/iso-3166-country-codes.html).
	IsoCountryCode string `protobuf:"bytes,3,opt,name=iso_country_code,json=isoCountryCode,proto3" json:"iso_country_code,omitempty"`
	// The name of the country associated with the placemark.
	Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	// The postal code associated with the placemark.
	PostalCode string `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// The name of the state or province associated with the placemark.
	AdministrativeArea string `protobuf:"bytes,6,opt,name=administrative_area,json=administrativeArea,proto3" json:"administrative_area,omitempty"`
	// Additional administrative area information for the placemark.
	SubAdministrativeArea string `` /* 126-byte string literal not displayed */
	// The name of the city associated with the placemark.
	Locality string `protobuf:"bytes,8,opt,name=locality,proto3" json:"locality,omitempty"`
	// Additional city-level information for the placemark.
	SubLocality string `protobuf:"bytes,9,opt,name=sub_locality,json=subLocality,proto3" json:"sub_locality,omitempty"`
	// The street address associated with the placemark.
	Thoroughfare string `protobuf:"bytes,10,opt,name=thoroughfare,proto3" json:"thoroughfare,omitempty"`
	// Additional street address information for the placemark.
	SubThoroughfare string `protobuf:"bytes,11,opt,name=sub_thoroughfare,json=subThoroughfare,proto3" json:"sub_thoroughfare,omitempty"`
}

Contains detailed placemark information.

func (*Location_Placemark) Descriptor

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

func (*Location_Placemark) GetAdministrativeArea

func (m *Location_Placemark) GetAdministrativeArea() string

func (*Location_Placemark) GetCountry

func (m *Location_Placemark) GetCountry() string

func (*Location_Placemark) GetIsoCountryCode

func (m *Location_Placemark) GetIsoCountryCode() string

func (*Location_Placemark) GetLocality

func (m *Location_Placemark) GetLocality() string

func (*Location_Placemark) GetName

func (m *Location_Placemark) GetName() string

func (*Location_Placemark) GetPostalCode

func (m *Location_Placemark) GetPostalCode() string

func (*Location_Placemark) GetStreet

func (m *Location_Placemark) GetStreet() string

func (*Location_Placemark) GetSubAdministrativeArea

func (m *Location_Placemark) GetSubAdministrativeArea() string

func (*Location_Placemark) GetSubLocality

func (m *Location_Placemark) GetSubLocality() string

func (*Location_Placemark) GetSubThoroughfare

func (m *Location_Placemark) GetSubThoroughfare() string

func (*Location_Placemark) GetThoroughfare

func (m *Location_Placemark) GetThoroughfare() string

func (*Location_Placemark) Marshal

func (m *Location_Placemark) Marshal() (dAtA []byte, err error)

func (*Location_Placemark) MarshalTo

func (m *Location_Placemark) MarshalTo(dAtA []byte) (int, error)

func (*Location_Placemark) MarshalToSizedBuffer

func (m *Location_Placemark) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Location_Placemark) ProtoMessage

func (*Location_Placemark) ProtoMessage()

func (*Location_Placemark) Reset

func (m *Location_Placemark) Reset()

func (*Location_Placemark) Size

func (m *Location_Placemark) Size() (n int)

func (*Location_Placemark) String

func (m *Location_Placemark) String() string

func (*Location_Placemark) Unmarshal

func (m *Location_Placemark) Unmarshal(dAtA []byte) error

func (*Location_Placemark) XXX_DiscardUnknown

func (m *Location_Placemark) XXX_DiscardUnknown()

func (*Location_Placemark) XXX_Marshal

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

func (*Location_Placemark) XXX_Merge

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

func (*Location_Placemark) XXX_Size

func (m *Location_Placemark) XXX_Size() int

func (*Location_Placemark) XXX_Unmarshal

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

type Metadata

type Metadata struct {
	// Unix timestamp
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Node ID
	NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Signature of the message
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// Public Key of the message sender
	PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

Shared Metadata for Messages on all Protocols

func (*Metadata) Descriptor

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

func (*Metadata) GetNodeId

func (m *Metadata) GetNodeId() string

func (*Metadata) GetPublicKey

func (m *Metadata) GetPublicKey() []byte

func (*Metadata) GetSignature

func (m *Metadata) GetSignature() []byte

func (*Metadata) GetTimestamp

func (m *Metadata) GetTimestamp() int64

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

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

func (*Metadata) XXX_Merge

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

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

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

type MintKeeper

type MintKeeper interface {
}

type MsgAccessName

type MsgAccessName struct {
	// The account that is accessing the name
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// The name to access
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The Public Key of the peer to access
	PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// The Libp2p peer ID of the peer to access
	PeerId string `protobuf:"bytes,4,opt,name=peerId,proto3" json:"peerId,omitempty"`
}

MsgAccessName defines the MsgAccessName transaction.

func NewMsgAccessName

func NewMsgAccessName(creator string, name string, publicKey string, peerId string) *MsgAccessName

func (*MsgAccessName) Descriptor

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

func (*MsgAccessName) GetCreator

func (m *MsgAccessName) GetCreator() string

func (*MsgAccessName) GetName

func (m *MsgAccessName) GetName() string

func (*MsgAccessName) GetPeerId

func (m *MsgAccessName) GetPeerId() string

func (*MsgAccessName) GetPublicKey

func (m *MsgAccessName) GetPublicKey() string

func (*MsgAccessName) GetSignBytes

func (msg *MsgAccessName) GetSignBytes() []byte

func (*MsgAccessName) GetSigners

func (msg *MsgAccessName) GetSigners() []sdk.AccAddress

func (*MsgAccessName) Marshal

func (m *MsgAccessName) Marshal() (dAtA []byte, err error)

func (*MsgAccessName) MarshalTo

func (m *MsgAccessName) MarshalTo(dAtA []byte) (int, error)

func (*MsgAccessName) MarshalToSizedBuffer

func (m *MsgAccessName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAccessName) ProtoMessage

func (*MsgAccessName) ProtoMessage()

func (*MsgAccessName) Reset

func (m *MsgAccessName) Reset()

func (*MsgAccessName) Route

func (msg *MsgAccessName) Route() string

func (*MsgAccessName) Size

func (m *MsgAccessName) Size() (n int)

func (*MsgAccessName) String

func (m *MsgAccessName) String() string

func (*MsgAccessName) Type

func (msg *MsgAccessName) Type() string

func (*MsgAccessName) Unmarshal

func (m *MsgAccessName) Unmarshal(dAtA []byte) error

func (*MsgAccessName) ValidateBasic

func (msg *MsgAccessName) ValidateBasic() error

func (*MsgAccessName) XXX_DiscardUnknown

func (m *MsgAccessName) XXX_DiscardUnknown()

func (*MsgAccessName) XXX_Marshal

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

func (*MsgAccessName) XXX_Merge

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

func (*MsgAccessName) XXX_Size

func (m *MsgAccessName) XXX_Size() int

func (*MsgAccessName) XXX_Unmarshal

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

type MsgAccessNameResponse

type MsgAccessNameResponse struct {
	Did       string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
	PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	PeerId    string `protobuf:"bytes,3,opt,name=peerId,proto3" json:"peerId,omitempty"`
}

func (*MsgAccessNameResponse) Descriptor

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

func (*MsgAccessNameResponse) GetDid

func (m *MsgAccessNameResponse) GetDid() string

func (*MsgAccessNameResponse) GetPeerId

func (m *MsgAccessNameResponse) GetPeerId() string

func (*MsgAccessNameResponse) GetPublicKey

func (m *MsgAccessNameResponse) GetPublicKey() string

func (*MsgAccessNameResponse) Marshal

func (m *MsgAccessNameResponse) Marshal() (dAtA []byte, err error)

func (*MsgAccessNameResponse) MarshalTo

func (m *MsgAccessNameResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAccessNameResponse) MarshalToSizedBuffer

func (m *MsgAccessNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAccessNameResponse) ProtoMessage

func (*MsgAccessNameResponse) ProtoMessage()

func (*MsgAccessNameResponse) Reset

func (m *MsgAccessNameResponse) Reset()

func (*MsgAccessNameResponse) Size

func (m *MsgAccessNameResponse) Size() (n int)

func (*MsgAccessNameResponse) String

func (m *MsgAccessNameResponse) String() string

func (*MsgAccessNameResponse) Unmarshal

func (m *MsgAccessNameResponse) Unmarshal(dAtA []byte) error

func (*MsgAccessNameResponse) XXX_DiscardUnknown

func (m *MsgAccessNameResponse) XXX_DiscardUnknown()

func (*MsgAccessNameResponse) XXX_Marshal

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

func (*MsgAccessNameResponse) XXX_Merge

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

func (*MsgAccessNameResponse) XXX_Size

func (m *MsgAccessNameResponse) XXX_Size() int

func (*MsgAccessNameResponse) XXX_Unmarshal

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

type MsgAccessService

type MsgAccessService struct {
	// The account that is accessing the service
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// The name of the service to access
	Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
}

func NewMsgAccessService

func NewMsgAccessService(creator string, did string) *MsgAccessService

func (*MsgAccessService) Descriptor

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

func (*MsgAccessService) GetCreator

func (m *MsgAccessService) GetCreator() string

func (*MsgAccessService) GetDid

func (m *MsgAccessService) GetDid() string

func (*MsgAccessService) GetSignBytes

func (msg *MsgAccessService) GetSignBytes() []byte

func (*MsgAccessService) GetSigners

func (msg *MsgAccessService) GetSigners() []sdk.AccAddress

func (*MsgAccessService) Marshal

func (m *MsgAccessService) Marshal() (dAtA []byte, err error)

func (*MsgAccessService) MarshalTo

func (m *MsgAccessService) MarshalTo(dAtA []byte) (int, error)

func (*MsgAccessService) MarshalToSizedBuffer

func (m *MsgAccessService) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAccessService) ProtoMessage

func (*MsgAccessService) ProtoMessage()

func (*MsgAccessService) Reset

func (m *MsgAccessService) Reset()

func (*MsgAccessService) Route

func (msg *MsgAccessService) Route() string

func (*MsgAccessService) Size

func (m *MsgAccessService) Size() (n int)

func (*MsgAccessService) String

func (m *MsgAccessService) String() string

func (*MsgAccessService) Type

func (msg *MsgAccessService) Type() string

func (*MsgAccessService) Unmarshal

func (m *MsgAccessService) Unmarshal(dAtA []byte) error

func (*MsgAccessService) ValidateBasic

func (msg *MsgAccessService) ValidateBasic() error

func (*MsgAccessService) XXX_DiscardUnknown

func (m *MsgAccessService) XXX_DiscardUnknown()

func (*MsgAccessService) XXX_Marshal

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

func (*MsgAccessService) XXX_Merge

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

func (*MsgAccessService) XXX_Size

func (m *MsgAccessService) XXX_Size() int

func (*MsgAccessService) XXX_Unmarshal

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

type MsgAccessServiceResponse

type MsgAccessServiceResponse struct {
	// Code of the response
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// Message of the response
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Data of the response
	Metadata map[string]string `` /* 157-byte string literal not displayed */
}

func (*MsgAccessServiceResponse) Descriptor

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

func (*MsgAccessServiceResponse) GetCode

func (m *MsgAccessServiceResponse) GetCode() int32

func (*MsgAccessServiceResponse) GetMessage

func (m *MsgAccessServiceResponse) GetMessage() string

func (*MsgAccessServiceResponse) GetMetadata

func (m *MsgAccessServiceResponse) GetMetadata() map[string]string

func (*MsgAccessServiceResponse) Marshal

func (m *MsgAccessServiceResponse) Marshal() (dAtA []byte, err error)

func (*MsgAccessServiceResponse) MarshalTo

func (m *MsgAccessServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAccessServiceResponse) MarshalToSizedBuffer

func (m *MsgAccessServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAccessServiceResponse) ProtoMessage

func (*MsgAccessServiceResponse) ProtoMessage()

func (*MsgAccessServiceResponse) Reset

func (m *MsgAccessServiceResponse) Reset()

func (*MsgAccessServiceResponse) Size

func (m *MsgAccessServiceResponse) Size() (n int)

func (*MsgAccessServiceResponse) String

func (m *MsgAccessServiceResponse) String() string

func (*MsgAccessServiceResponse) Unmarshal

func (m *MsgAccessServiceResponse) Unmarshal(dAtA []byte) error

func (*MsgAccessServiceResponse) XXX_DiscardUnknown

func (m *MsgAccessServiceResponse) XXX_DiscardUnknown()

func (*MsgAccessServiceResponse) XXX_Marshal

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

func (*MsgAccessServiceResponse) XXX_Merge

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

func (*MsgAccessServiceResponse) XXX_Size

func (m *MsgAccessServiceResponse) XXX_Size() int

func (*MsgAccessServiceResponse) XXX_Unmarshal

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

type MsgCheckName

type MsgCheckName struct {
	// Account address of the name owner
	NameToRegister string `protobuf:"bytes,1,opt,name=nameToRegister,proto3" json:"nameToRegister,omitempty"`
	// Account address of the name owner
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
}

ask to see if a name is available

func (*MsgCheckName) Descriptor

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

func (*MsgCheckName) GetCreator

func (m *MsgCheckName) GetCreator() string

func (*MsgCheckName) GetNameToRegister

func (m *MsgCheckName) GetNameToRegister() string

func (*MsgCheckName) Marshal

func (m *MsgCheckName) Marshal() (dAtA []byte, err error)

func (*MsgCheckName) MarshalTo

func (m *MsgCheckName) MarshalTo(dAtA []byte) (int, error)

func (*MsgCheckName) MarshalToSizedBuffer

func (m *MsgCheckName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCheckName) ProtoMessage

func (*MsgCheckName) ProtoMessage()

func (*MsgCheckName) Reset

func (m *MsgCheckName) Reset()

func (*MsgCheckName) Size

func (m *MsgCheckName) Size() (n int)

func (*MsgCheckName) String

func (m *MsgCheckName) String() string

func (*MsgCheckName) Unmarshal

func (m *MsgCheckName) Unmarshal(dAtA []byte) error

func (*MsgCheckName) XXX_DiscardUnknown

func (m *MsgCheckName) XXX_DiscardUnknown()

func (*MsgCheckName) XXX_Marshal

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

func (*MsgCheckName) XXX_Merge

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

func (*MsgCheckName) XXX_Size

func (m *MsgCheckName) XXX_Size() int

func (*MsgCheckName) XXX_Unmarshal

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

type MsgCheckNameResponse

type MsgCheckNameResponse struct {
	// Is the name available
	IsAvailable bool `protobuf:"varint,1,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"`
}

ask to see if a name is available

func (*MsgCheckNameResponse) Descriptor

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

func (*MsgCheckNameResponse) GetIsAvailable

func (m *MsgCheckNameResponse) GetIsAvailable() bool

func (*MsgCheckNameResponse) Marshal

func (m *MsgCheckNameResponse) Marshal() (dAtA []byte, err error)

func (*MsgCheckNameResponse) MarshalTo

func (m *MsgCheckNameResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCheckNameResponse) MarshalToSizedBuffer

func (m *MsgCheckNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCheckNameResponse) ProtoMessage

func (*MsgCheckNameResponse) ProtoMessage()

func (*MsgCheckNameResponse) Reset

func (m *MsgCheckNameResponse) Reset()

func (*MsgCheckNameResponse) Size

func (m *MsgCheckNameResponse) Size() (n int)

func (*MsgCheckNameResponse) String

func (m *MsgCheckNameResponse) String() string

func (*MsgCheckNameResponse) Unmarshal

func (m *MsgCheckNameResponse) Unmarshal(dAtA []byte) error

func (*MsgCheckNameResponse) XXX_DiscardUnknown

func (m *MsgCheckNameResponse) XXX_DiscardUnknown()

func (*MsgCheckNameResponse) XXX_Marshal

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

func (*MsgCheckNameResponse) XXX_Merge

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

func (*MsgCheckNameResponse) XXX_Size

func (m *MsgCheckNameResponse) XXX_Size() int

func (*MsgCheckNameResponse) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateWhoIs

type MsgCreateWhoIs struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index   string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Did     string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`
	Value   string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgCreateWhoIs

func NewMsgCreateWhoIs(
	creator string,
	index string,
	did string,
	value string,

) *MsgCreateWhoIs

func (*MsgCreateWhoIs) Descriptor

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

func (*MsgCreateWhoIs) GetCreator

func (m *MsgCreateWhoIs) GetCreator() string

func (*MsgCreateWhoIs) GetDid

func (m *MsgCreateWhoIs) GetDid() string

func (*MsgCreateWhoIs) GetIndex

func (m *MsgCreateWhoIs) GetIndex() string

func (*MsgCreateWhoIs) GetSignBytes

func (msg *MsgCreateWhoIs) GetSignBytes() []byte

func (*MsgCreateWhoIs) GetSigners

func (msg *MsgCreateWhoIs) GetSigners() []sdk.AccAddress

func (*MsgCreateWhoIs) GetValue

func (m *MsgCreateWhoIs) GetValue() string

func (*MsgCreateWhoIs) Marshal

func (m *MsgCreateWhoIs) Marshal() (dAtA []byte, err error)

func (*MsgCreateWhoIs) MarshalTo

func (m *MsgCreateWhoIs) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateWhoIs) MarshalToSizedBuffer

func (m *MsgCreateWhoIs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateWhoIs) ProtoMessage

func (*MsgCreateWhoIs) ProtoMessage()

func (*MsgCreateWhoIs) Reset

func (m *MsgCreateWhoIs) Reset()

func (*MsgCreateWhoIs) Route

func (msg *MsgCreateWhoIs) Route() string

func (*MsgCreateWhoIs) Size

func (m *MsgCreateWhoIs) Size() (n int)

func (*MsgCreateWhoIs) String

func (m *MsgCreateWhoIs) String() string

func (*MsgCreateWhoIs) Type

func (msg *MsgCreateWhoIs) Type() string

func (*MsgCreateWhoIs) Unmarshal

func (m *MsgCreateWhoIs) Unmarshal(dAtA []byte) error

func (*MsgCreateWhoIs) ValidateBasic

func (msg *MsgCreateWhoIs) ValidateBasic() error

func (*MsgCreateWhoIs) XXX_DiscardUnknown

func (m *MsgCreateWhoIs) XXX_DiscardUnknown()

func (*MsgCreateWhoIs) XXX_Marshal

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

func (*MsgCreateWhoIs) XXX_Merge

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

func (*MsgCreateWhoIs) XXX_Size

func (m *MsgCreateWhoIs) XXX_Size() int

func (*MsgCreateWhoIs) XXX_Unmarshal

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

type MsgCreateWhoIsResponse

type MsgCreateWhoIsResponse struct {
}

func (*MsgCreateWhoIsResponse) Descriptor

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

func (*MsgCreateWhoIsResponse) Marshal

func (m *MsgCreateWhoIsResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateWhoIsResponse) MarshalTo

func (m *MsgCreateWhoIsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateWhoIsResponse) MarshalToSizedBuffer

func (m *MsgCreateWhoIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateWhoIsResponse) ProtoMessage

func (*MsgCreateWhoIsResponse) ProtoMessage()

func (*MsgCreateWhoIsResponse) Reset

func (m *MsgCreateWhoIsResponse) Reset()

func (*MsgCreateWhoIsResponse) Size

func (m *MsgCreateWhoIsResponse) Size() (n int)

func (*MsgCreateWhoIsResponse) String

func (m *MsgCreateWhoIsResponse) String() string

func (*MsgCreateWhoIsResponse) Unmarshal

func (m *MsgCreateWhoIsResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateWhoIsResponse) XXX_DiscardUnknown

func (m *MsgCreateWhoIsResponse) XXX_DiscardUnknown()

func (*MsgCreateWhoIsResponse) XXX_Marshal

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

func (*MsgCreateWhoIsResponse) XXX_Merge

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

func (*MsgCreateWhoIsResponse) XXX_Size

func (m *MsgCreateWhoIsResponse) XXX_Size() int

func (*MsgCreateWhoIsResponse) XXX_Unmarshal

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

type MsgDeleteWhoIs

type MsgDeleteWhoIs struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index   string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
}

func NewMsgDeleteWhoIs

func NewMsgDeleteWhoIs(
	creator string,
	index string,

) *MsgDeleteWhoIs

func (*MsgDeleteWhoIs) Descriptor

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

func (*MsgDeleteWhoIs) GetCreator

func (m *MsgDeleteWhoIs) GetCreator() string

func (*MsgDeleteWhoIs) GetIndex

func (m *MsgDeleteWhoIs) GetIndex() string

func (*MsgDeleteWhoIs) GetSignBytes

func (msg *MsgDeleteWhoIs) GetSignBytes() []byte

func (*MsgDeleteWhoIs) GetSigners

func (msg *MsgDeleteWhoIs) GetSigners() []sdk.AccAddress

func (*MsgDeleteWhoIs) Marshal

func (m *MsgDeleteWhoIs) Marshal() (dAtA []byte, err error)

func (*MsgDeleteWhoIs) MarshalTo

func (m *MsgDeleteWhoIs) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteWhoIs) MarshalToSizedBuffer

func (m *MsgDeleteWhoIs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteWhoIs) ProtoMessage

func (*MsgDeleteWhoIs) ProtoMessage()

func (*MsgDeleteWhoIs) Reset

func (m *MsgDeleteWhoIs) Reset()

func (*MsgDeleteWhoIs) Route

func (msg *MsgDeleteWhoIs) Route() string

func (*MsgDeleteWhoIs) Size

func (m *MsgDeleteWhoIs) Size() (n int)

func (*MsgDeleteWhoIs) String

func (m *MsgDeleteWhoIs) String() string

func (*MsgDeleteWhoIs) Type

func (msg *MsgDeleteWhoIs) Type() string

func (*MsgDeleteWhoIs) Unmarshal

func (m *MsgDeleteWhoIs) Unmarshal(dAtA []byte) error

func (*MsgDeleteWhoIs) ValidateBasic

func (msg *MsgDeleteWhoIs) ValidateBasic() error

func (*MsgDeleteWhoIs) XXX_DiscardUnknown

func (m *MsgDeleteWhoIs) XXX_DiscardUnknown()

func (*MsgDeleteWhoIs) XXX_Marshal

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

func (*MsgDeleteWhoIs) XXX_Merge

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

func (*MsgDeleteWhoIs) XXX_Size

func (m *MsgDeleteWhoIs) XXX_Size() int

func (*MsgDeleteWhoIs) XXX_Unmarshal

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

type MsgDeleteWhoIsResponse

type MsgDeleteWhoIsResponse struct {
}

func (*MsgDeleteWhoIsResponse) Descriptor

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

func (*MsgDeleteWhoIsResponse) Marshal

func (m *MsgDeleteWhoIsResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteWhoIsResponse) MarshalTo

func (m *MsgDeleteWhoIsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteWhoIsResponse) MarshalToSizedBuffer

func (m *MsgDeleteWhoIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteWhoIsResponse) ProtoMessage

func (*MsgDeleteWhoIsResponse) ProtoMessage()

func (*MsgDeleteWhoIsResponse) Reset

func (m *MsgDeleteWhoIsResponse) Reset()

func (*MsgDeleteWhoIsResponse) Size

func (m *MsgDeleteWhoIsResponse) Size() (n int)

func (*MsgDeleteWhoIsResponse) String

func (m *MsgDeleteWhoIsResponse) String() string

func (*MsgDeleteWhoIsResponse) Unmarshal

func (m *MsgDeleteWhoIsResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteWhoIsResponse) XXX_DiscardUnknown

func (m *MsgDeleteWhoIsResponse) XXX_DiscardUnknown()

func (*MsgDeleteWhoIsResponse) XXX_Marshal

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

func (*MsgDeleteWhoIsResponse) XXX_Merge

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

func (*MsgDeleteWhoIsResponse) XXX_Size

func (m *MsgDeleteWhoIsResponse) XXX_Size() int

func (*MsgDeleteWhoIsResponse) XXX_Unmarshal

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

type MsgRegisterName

type MsgRegisterName struct {
	// Account address of the name owner
	Creator        string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	NameToRegister string `protobuf:"bytes,2,opt,name=nameToRegister,proto3" json:"nameToRegister,omitempty"`
	// Device Id of the client node
	Payload map[string]string `` /* 155-byte string literal not displayed */
	// Client side JSON Web Token for AssertionMethod
	PublicKeyBuffer []byte `protobuf:"bytes,4,opt,name=publicKeyBuffer,proto3" json:"publicKeyBuffer,omitempty"`
}

MsgRegisterName is a request to register a name with the ".snr" name of a peer

func NewMsgRegisterName

func NewMsgRegisterName(creator string, deviceId string, os string, model string, jwt string, nameToRegister string) *MsgRegisterName

func (*MsgRegisterName) Descriptor

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

func (*MsgRegisterName) GetCreator

func (m *MsgRegisterName) GetCreator() string

func (*MsgRegisterName) GetNameToRegister

func (m *MsgRegisterName) GetNameToRegister() string

func (*MsgRegisterName) GetPayload

func (m *MsgRegisterName) GetPayload() map[string]string

func (*MsgRegisterName) GetPublicKeyBuffer

func (m *MsgRegisterName) GetPublicKeyBuffer() []byte

func (*MsgRegisterName) GetSignBytes

func (msg *MsgRegisterName) GetSignBytes() []byte

func (*MsgRegisterName) GetSigners

func (msg *MsgRegisterName) GetSigners() []sdk.AccAddress

func (*MsgRegisterName) Marshal

func (m *MsgRegisterName) Marshal() (dAtA []byte, err error)

func (*MsgRegisterName) MarshalTo

func (m *MsgRegisterName) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterName) MarshalToSizedBuffer

func (m *MsgRegisterName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterName) ProtoMessage

func (*MsgRegisterName) ProtoMessage()

func (*MsgRegisterName) Reset

func (m *MsgRegisterName) Reset()

func (*MsgRegisterName) Route

func (msg *MsgRegisterName) Route() string

func (*MsgRegisterName) Size

func (m *MsgRegisterName) Size() (n int)

func (*MsgRegisterName) String

func (m *MsgRegisterName) String() string

func (*MsgRegisterName) Type

func (msg *MsgRegisterName) Type() string

func (*MsgRegisterName) Unmarshal

func (m *MsgRegisterName) Unmarshal(dAtA []byte) error

func (*MsgRegisterName) ValidateBasic

func (msg *MsgRegisterName) ValidateBasic() error

func (*MsgRegisterName) XXX_DiscardUnknown

func (m *MsgRegisterName) XXX_DiscardUnknown()

func (*MsgRegisterName) XXX_Marshal

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

func (*MsgRegisterName) XXX_Merge

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

func (*MsgRegisterName) XXX_Size

func (m *MsgRegisterName) XXX_Size() int

func (*MsgRegisterName) XXX_Unmarshal

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

type MsgRegisterNameResponse

type MsgRegisterNameResponse struct {
	// The name that was registered
	IsSuccess bool `protobuf:"varint,1,opt,name=isSuccess,proto3" json:"isSuccess,omitempty"`
	// The Did string in url format i.e. did:sonr:<did>
	DidUrl string `protobuf:"bytes,2,opt,name=didUrl,proto3" json:"didUrl,omitempty"`
	// The Document for the registered DID in Json format
	DidDocumentJson string `protobuf:"bytes,3,opt,name=didDocumentJson,proto3" json:"didDocumentJson,omitempty"`
}

func (*MsgRegisterNameResponse) Descriptor

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

func (*MsgRegisterNameResponse) GetDidDocumentJson

func (m *MsgRegisterNameResponse) GetDidDocumentJson() string

func (*MsgRegisterNameResponse) GetDidUrl

func (m *MsgRegisterNameResponse) GetDidUrl() string

func (*MsgRegisterNameResponse) GetIsSuccess

func (m *MsgRegisterNameResponse) GetIsSuccess() bool

func (*MsgRegisterNameResponse) Marshal

func (m *MsgRegisterNameResponse) Marshal() (dAtA []byte, err error)

func (*MsgRegisterNameResponse) MarshalTo

func (m *MsgRegisterNameResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterNameResponse) MarshalToSizedBuffer

func (m *MsgRegisterNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterNameResponse) ProtoMessage

func (*MsgRegisterNameResponse) ProtoMessage()

func (*MsgRegisterNameResponse) Reset

func (m *MsgRegisterNameResponse) Reset()

func (*MsgRegisterNameResponse) Size

func (m *MsgRegisterNameResponse) Size() (n int)

func (*MsgRegisterNameResponse) String

func (m *MsgRegisterNameResponse) String() string

func (*MsgRegisterNameResponse) Unmarshal

func (m *MsgRegisterNameResponse) Unmarshal(dAtA []byte) error

func (*MsgRegisterNameResponse) XXX_DiscardUnknown

func (m *MsgRegisterNameResponse) XXX_DiscardUnknown()

func (*MsgRegisterNameResponse) XXX_Marshal

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

func (*MsgRegisterNameResponse) XXX_Merge

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

func (*MsgRegisterNameResponse) XXX_Size

func (m *MsgRegisterNameResponse) XXX_Size() int

func (*MsgRegisterNameResponse) XXX_Unmarshal

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

type MsgRegisterService

type MsgRegisterService struct {
	// Creator is the account address of the creator of the service.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// Service Name is the endpoint of the service.
	ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	// JWT is the JWT used to authenticate the service.
	Jwt string `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt,omitempty"`
}

func NewMsgRegisterService

func NewMsgRegisterService(creator string, serviceName string, jwt string) *MsgRegisterService

func (*MsgRegisterService) Descriptor

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

func (*MsgRegisterService) GetCreator

func (m *MsgRegisterService) GetCreator() string

func (*MsgRegisterService) GetJwt

func (m *MsgRegisterService) GetJwt() string

func (*MsgRegisterService) GetServiceName

func (m *MsgRegisterService) GetServiceName() string

func (*MsgRegisterService) GetSignBytes

func (msg *MsgRegisterService) GetSignBytes() []byte

func (*MsgRegisterService) GetSigners

func (msg *MsgRegisterService) GetSigners() []sdk.AccAddress

func (*MsgRegisterService) Marshal

func (m *MsgRegisterService) Marshal() (dAtA []byte, err error)

func (*MsgRegisterService) MarshalTo

func (m *MsgRegisterService) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterService) MarshalToSizedBuffer

func (m *MsgRegisterService) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterService) ProtoMessage

func (*MsgRegisterService) ProtoMessage()

func (*MsgRegisterService) Reset

func (m *MsgRegisterService) Reset()

func (*MsgRegisterService) Route

func (msg *MsgRegisterService) Route() string

func (*MsgRegisterService) Size

func (m *MsgRegisterService) Size() (n int)

func (*MsgRegisterService) String

func (m *MsgRegisterService) String() string

func (*MsgRegisterService) Type

func (msg *MsgRegisterService) Type() string

func (*MsgRegisterService) Unmarshal

func (m *MsgRegisterService) Unmarshal(dAtA []byte) error

func (*MsgRegisterService) ValidateBasic

func (msg *MsgRegisterService) ValidateBasic() error

func (*MsgRegisterService) XXX_DiscardUnknown

func (m *MsgRegisterService) XXX_DiscardUnknown()

func (*MsgRegisterService) XXX_Marshal

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

func (*MsgRegisterService) XXX_Merge

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

func (*MsgRegisterService) XXX_Size

func (m *MsgRegisterService) XXX_Size() int

func (*MsgRegisterService) XXX_Unmarshal

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

type MsgRegisterServiceResponse

type MsgRegisterServiceResponse struct {
	// The name that was registered
	IsSuccess bool `protobuf:"varint,1,opt,name=isSuccess,proto3" json:"isSuccess,omitempty"`
	// The Did string in url format i.e. did:sonr:<did>
	DidUrl string `protobuf:"bytes,2,opt,name=didUrl,proto3" json:"didUrl,omitempty"`
	// The Document for the registered DID in Json format
	DidDocumentJson string `protobuf:"bytes,3,opt,name=didDocumentJson,proto3" json:"didDocumentJson,omitempty"`
}

func (*MsgRegisterServiceResponse) Descriptor

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

func (*MsgRegisterServiceResponse) GetDidDocumentJson

func (m *MsgRegisterServiceResponse) GetDidDocumentJson() string

func (*MsgRegisterServiceResponse) GetDidUrl

func (m *MsgRegisterServiceResponse) GetDidUrl() string

func (*MsgRegisterServiceResponse) GetIsSuccess

func (m *MsgRegisterServiceResponse) GetIsSuccess() bool

func (*MsgRegisterServiceResponse) Marshal

func (m *MsgRegisterServiceResponse) Marshal() (dAtA []byte, err error)

func (*MsgRegisterServiceResponse) MarshalTo

func (m *MsgRegisterServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterServiceResponse) MarshalToSizedBuffer

func (m *MsgRegisterServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterServiceResponse) ProtoMessage

func (*MsgRegisterServiceResponse) ProtoMessage()

func (*MsgRegisterServiceResponse) Reset

func (m *MsgRegisterServiceResponse) Reset()

func (*MsgRegisterServiceResponse) Size

func (m *MsgRegisterServiceResponse) Size() (n int)

func (*MsgRegisterServiceResponse) String

func (m *MsgRegisterServiceResponse) String() string

func (*MsgRegisterServiceResponse) Unmarshal

func (m *MsgRegisterServiceResponse) Unmarshal(dAtA []byte) error

func (*MsgRegisterServiceResponse) XXX_DiscardUnknown

func (m *MsgRegisterServiceResponse) XXX_DiscardUnknown()

func (*MsgRegisterServiceResponse) XXX_Marshal

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

func (*MsgRegisterServiceResponse) XXX_Merge

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

func (*MsgRegisterServiceResponse) XXX_Size

func (m *MsgRegisterServiceResponse) XXX_Size() int

func (*MsgRegisterServiceResponse) XXX_Unmarshal

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

type MsgUpdateName

type MsgUpdateName struct {
	// The account that owns the name.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// The did of the peer to update the name of
	Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	// The Updated Metadata
	Metadata map[string]string `` /* 157-byte string literal not displayed */
}

func NewMsgUpdateName

func NewMsgUpdateName(creator string, name string) *MsgUpdateName

func (*MsgUpdateName) Descriptor

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

func (*MsgUpdateName) GetCreator

func (m *MsgUpdateName) GetCreator() string

func (*MsgUpdateName) GetDid

func (m *MsgUpdateName) GetDid() string

func (*MsgUpdateName) GetMetadata

func (m *MsgUpdateName) GetMetadata() map[string]string

func (*MsgUpdateName) GetSignBytes

func (msg *MsgUpdateName) GetSignBytes() []byte

func (*MsgUpdateName) GetSigners

func (msg *MsgUpdateName) GetSigners() []sdk.AccAddress

func (*MsgUpdateName) Marshal

func (m *MsgUpdateName) Marshal() (dAtA []byte, err error)

func (*MsgUpdateName) MarshalTo

func (m *MsgUpdateName) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateName) MarshalToSizedBuffer

func (m *MsgUpdateName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateName) ProtoMessage

func (*MsgUpdateName) ProtoMessage()

func (*MsgUpdateName) Reset

func (m *MsgUpdateName) Reset()

func (*MsgUpdateName) Route

func (msg *MsgUpdateName) Route() string

func (*MsgUpdateName) Size

func (m *MsgUpdateName) Size() (n int)

func (*MsgUpdateName) String

func (m *MsgUpdateName) String() string

func (*MsgUpdateName) Type

func (msg *MsgUpdateName) Type() string

func (*MsgUpdateName) Unmarshal

func (m *MsgUpdateName) Unmarshal(dAtA []byte) error

func (*MsgUpdateName) ValidateBasic

func (msg *MsgUpdateName) ValidateBasic() error

func (*MsgUpdateName) XXX_DiscardUnknown

func (m *MsgUpdateName) XXX_DiscardUnknown()

func (*MsgUpdateName) XXX_Marshal

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

func (*MsgUpdateName) XXX_Merge

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

func (*MsgUpdateName) XXX_Size

func (m *MsgUpdateName) XXX_Size() int

func (*MsgUpdateName) XXX_Unmarshal

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

type MsgUpdateNameResponse

type MsgUpdateNameResponse struct {
	DidDocument string            `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"`
	Metadata    map[string]string `` /* 157-byte string literal not displayed */
}

func (*MsgUpdateNameResponse) Descriptor

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

func (*MsgUpdateNameResponse) GetDidDocument

func (m *MsgUpdateNameResponse) GetDidDocument() string

func (*MsgUpdateNameResponse) GetMetadata

func (m *MsgUpdateNameResponse) GetMetadata() map[string]string

func (*MsgUpdateNameResponse) Marshal

func (m *MsgUpdateNameResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateNameResponse) MarshalTo

func (m *MsgUpdateNameResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateNameResponse) MarshalToSizedBuffer

func (m *MsgUpdateNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateNameResponse) ProtoMessage

func (*MsgUpdateNameResponse) ProtoMessage()

func (*MsgUpdateNameResponse) Reset

func (m *MsgUpdateNameResponse) Reset()

func (*MsgUpdateNameResponse) Size

func (m *MsgUpdateNameResponse) Size() (n int)

func (*MsgUpdateNameResponse) String

func (m *MsgUpdateNameResponse) String() string

func (*MsgUpdateNameResponse) Unmarshal

func (m *MsgUpdateNameResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateNameResponse) XXX_DiscardUnknown

func (m *MsgUpdateNameResponse) XXX_DiscardUnknown()

func (*MsgUpdateNameResponse) XXX_Marshal

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

func (*MsgUpdateNameResponse) XXX_Merge

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

func (*MsgUpdateNameResponse) XXX_Size

func (m *MsgUpdateNameResponse) XXX_Size() int

func (*MsgUpdateNameResponse) XXX_Unmarshal

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

type MsgUpdateService

type MsgUpdateService struct {
	// The account that owns the name.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// The name of the peer to update the service details of
	Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	// The updated configuration for the service
	Configuration map[string]string `` /* 167-byte string literal not displayed */
	// The metadata for any service information required
	Metadata map[string]string `` /* 157-byte string literal not displayed */
}

func NewMsgUpdateService

func NewMsgUpdateService(creator string, did string) *MsgUpdateService

func (*MsgUpdateService) Descriptor

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

func (*MsgUpdateService) GetConfiguration

func (m *MsgUpdateService) GetConfiguration() map[string]string

func (*MsgUpdateService) GetCreator

func (m *MsgUpdateService) GetCreator() string

func (*MsgUpdateService) GetDid

func (m *MsgUpdateService) GetDid() string

func (*MsgUpdateService) GetMetadata

func (m *MsgUpdateService) GetMetadata() map[string]string

func (*MsgUpdateService) GetSignBytes

func (msg *MsgUpdateService) GetSignBytes() []byte

func (*MsgUpdateService) GetSigners

func (msg *MsgUpdateService) GetSigners() []sdk.AccAddress

func (*MsgUpdateService) Marshal

func (m *MsgUpdateService) Marshal() (dAtA []byte, err error)

func (*MsgUpdateService) MarshalTo

func (m *MsgUpdateService) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateService) MarshalToSizedBuffer

func (m *MsgUpdateService) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateService) ProtoMessage

func (*MsgUpdateService) ProtoMessage()

func (*MsgUpdateService) Reset

func (m *MsgUpdateService) Reset()

func (*MsgUpdateService) Route

func (msg *MsgUpdateService) Route() string

func (*MsgUpdateService) Size

func (m *MsgUpdateService) Size() (n int)

func (*MsgUpdateService) String

func (m *MsgUpdateService) String() string

func (*MsgUpdateService) Type

func (msg *MsgUpdateService) Type() string

func (*MsgUpdateService) Unmarshal

func (m *MsgUpdateService) Unmarshal(dAtA []byte) error

func (*MsgUpdateService) ValidateBasic

func (msg *MsgUpdateService) ValidateBasic() error

func (*MsgUpdateService) XXX_DiscardUnknown

func (m *MsgUpdateService) XXX_DiscardUnknown()

func (*MsgUpdateService) XXX_Marshal

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

func (*MsgUpdateService) XXX_Merge

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

func (*MsgUpdateService) XXX_Size

func (m *MsgUpdateService) XXX_Size() int

func (*MsgUpdateService) XXX_Unmarshal

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

type MsgUpdateServiceResponse

type MsgUpdateServiceResponse struct {
	DidDocument string `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"`
	// The updated configuration for the service
	Configuration map[string]string `` /* 167-byte string literal not displayed */
	// The metadata for any service information required
	Metadata map[string]string `` /* 157-byte string literal not displayed */
}

func (*MsgUpdateServiceResponse) Descriptor

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

func (*MsgUpdateServiceResponse) GetConfiguration

func (m *MsgUpdateServiceResponse) GetConfiguration() map[string]string

func (*MsgUpdateServiceResponse) GetDidDocument

func (m *MsgUpdateServiceResponse) GetDidDocument() string

func (*MsgUpdateServiceResponse) GetMetadata

func (m *MsgUpdateServiceResponse) GetMetadata() map[string]string

func (*MsgUpdateServiceResponse) Marshal

func (m *MsgUpdateServiceResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateServiceResponse) MarshalTo

func (m *MsgUpdateServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateServiceResponse) MarshalToSizedBuffer

func (m *MsgUpdateServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateServiceResponse) ProtoMessage

func (*MsgUpdateServiceResponse) ProtoMessage()

func (*MsgUpdateServiceResponse) Reset

func (m *MsgUpdateServiceResponse) Reset()

func (*MsgUpdateServiceResponse) Size

func (m *MsgUpdateServiceResponse) Size() (n int)

func (*MsgUpdateServiceResponse) String

func (m *MsgUpdateServiceResponse) String() string

func (*MsgUpdateServiceResponse) Unmarshal

func (m *MsgUpdateServiceResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateServiceResponse) XXX_DiscardUnknown

func (m *MsgUpdateServiceResponse) XXX_DiscardUnknown()

func (*MsgUpdateServiceResponse) XXX_Marshal

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

func (*MsgUpdateServiceResponse) XXX_Merge

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

func (*MsgUpdateServiceResponse) XXX_Size

func (m *MsgUpdateServiceResponse) XXX_Size() int

func (*MsgUpdateServiceResponse) XXX_Unmarshal

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

type MsgUpdateWhoIs

type MsgUpdateWhoIs struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index   string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Did     string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`
	Value   string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgUpdateWhoIs

func NewMsgUpdateWhoIs(
	creator string,
	index string,
	did string,
	value string,

) *MsgUpdateWhoIs

func (*MsgUpdateWhoIs) Descriptor

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

func (*MsgUpdateWhoIs) GetCreator

func (m *MsgUpdateWhoIs) GetCreator() string

func (*MsgUpdateWhoIs) GetDid

func (m *MsgUpdateWhoIs) GetDid() string

func (*MsgUpdateWhoIs) GetIndex

func (m *MsgUpdateWhoIs) GetIndex() string

func (*MsgUpdateWhoIs) GetSignBytes

func (msg *MsgUpdateWhoIs) GetSignBytes() []byte

func (*MsgUpdateWhoIs) GetSigners

func (msg *MsgUpdateWhoIs) GetSigners() []sdk.AccAddress

func (*MsgUpdateWhoIs) GetValue

func (m *MsgUpdateWhoIs) GetValue() string

func (*MsgUpdateWhoIs) Marshal

func (m *MsgUpdateWhoIs) Marshal() (dAtA []byte, err error)

func (*MsgUpdateWhoIs) MarshalTo

func (m *MsgUpdateWhoIs) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateWhoIs) MarshalToSizedBuffer

func (m *MsgUpdateWhoIs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateWhoIs) ProtoMessage

func (*MsgUpdateWhoIs) ProtoMessage()

func (*MsgUpdateWhoIs) Reset

func (m *MsgUpdateWhoIs) Reset()

func (*MsgUpdateWhoIs) Route

func (msg *MsgUpdateWhoIs) Route() string

func (*MsgUpdateWhoIs) Size

func (m *MsgUpdateWhoIs) Size() (n int)

func (*MsgUpdateWhoIs) String

func (m *MsgUpdateWhoIs) String() string

func (*MsgUpdateWhoIs) Type

func (msg *MsgUpdateWhoIs) Type() string

func (*MsgUpdateWhoIs) Unmarshal

func (m *MsgUpdateWhoIs) Unmarshal(dAtA []byte) error

func (*MsgUpdateWhoIs) ValidateBasic

func (msg *MsgUpdateWhoIs) ValidateBasic() error

func (*MsgUpdateWhoIs) XXX_DiscardUnknown

func (m *MsgUpdateWhoIs) XXX_DiscardUnknown()

func (*MsgUpdateWhoIs) XXX_Marshal

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

func (*MsgUpdateWhoIs) XXX_Merge

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

func (*MsgUpdateWhoIs) XXX_Size

func (m *MsgUpdateWhoIs) XXX_Size() int

func (*MsgUpdateWhoIs) XXX_Unmarshal

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

type MsgUpdateWhoIsResponse

type MsgUpdateWhoIsResponse struct {
}

func (*MsgUpdateWhoIsResponse) Descriptor

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

func (*MsgUpdateWhoIsResponse) Marshal

func (m *MsgUpdateWhoIsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateWhoIsResponse) MarshalTo

func (m *MsgUpdateWhoIsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateWhoIsResponse) MarshalToSizedBuffer

func (m *MsgUpdateWhoIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateWhoIsResponse) ProtoMessage

func (*MsgUpdateWhoIsResponse) ProtoMessage()

func (*MsgUpdateWhoIsResponse) Reset

func (m *MsgUpdateWhoIsResponse) Reset()

func (*MsgUpdateWhoIsResponse) Size

func (m *MsgUpdateWhoIsResponse) Size() (n int)

func (*MsgUpdateWhoIsResponse) String

func (m *MsgUpdateWhoIsResponse) String() string

func (*MsgUpdateWhoIsResponse) Unmarshal

func (m *MsgUpdateWhoIsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateWhoIsResponse) XXX_DiscardUnknown

func (m *MsgUpdateWhoIsResponse) XXX_DiscardUnknown()

func (*MsgUpdateWhoIsResponse) XXX_Marshal

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

func (*MsgUpdateWhoIsResponse) XXX_Merge

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

func (*MsgUpdateWhoIsResponse) XXX_Size

func (m *MsgUpdateWhoIsResponse) XXX_Size() int

func (*MsgUpdateWhoIsResponse) XXX_Unmarshal

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

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Peer

type Peer struct {
	SName        string       `protobuf:"bytes,1,opt,name=s_name,json=sName,proto3" json:"s_name,omitempty"`
	Status       Peer_Status  `protobuf:"varint,2,opt,name=status,proto3,enum=sonrio.sonr.registry.Peer_Status" json:"status,omitempty"`
	Device       *Peer_Device `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	Profile      *Profile     `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
	PublicKey    []byte       `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PeerId       string       `protobuf:"bytes,6,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	LastModified int64        `protobuf:"varint,7,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
}

Basic Info Sent to Peers to Establish Connections

func (*Peer) Descriptor

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

func (*Peer) GetDevice

func (m *Peer) GetDevice() *Peer_Device

func (*Peer) GetLastModified

func (m *Peer) GetLastModified() int64

func (*Peer) GetPeerId

func (m *Peer) GetPeerId() string

func (*Peer) GetProfile

func (m *Peer) GetProfile() *Profile

func (*Peer) GetPublicKey

func (m *Peer) GetPublicKey() []byte

func (*Peer) GetSName

func (m *Peer) GetSName() string

func (*Peer) GetStatus

func (m *Peer) GetStatus() Peer_Status

func (*Peer) Marshal

func (m *Peer) Marshal() (dAtA []byte, err error)

func (*Peer) MarshalTo

func (m *Peer) MarshalTo(dAtA []byte) (int, error)

func (*Peer) MarshalToSizedBuffer

func (m *Peer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) Size

func (m *Peer) Size() (n int)

func (*Peer) String

func (m *Peer) String() string

func (*Peer) Unmarshal

func (m *Peer) Unmarshal(dAtA []byte) error

func (*Peer) XXX_DiscardUnknown

func (m *Peer) XXX_DiscardUnknown()

func (*Peer) XXX_Marshal

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

func (*Peer) XXX_Merge

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

func (*Peer) XXX_Size

func (m *Peer) XXX_Size() int

func (*Peer) XXX_Unmarshal

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

type Peer_Device

type Peer_Device struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	Os       string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	Arch     string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"`
	Model    string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
}

Peer Info for Device

func (*Peer_Device) Descriptor

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

func (*Peer_Device) GetArch

func (m *Peer_Device) GetArch() string

func (*Peer_Device) GetHostName

func (m *Peer_Device) GetHostName() string

func (*Peer_Device) GetId

func (m *Peer_Device) GetId() string

func (*Peer_Device) GetModel

func (m *Peer_Device) GetModel() string

func (*Peer_Device) GetOs

func (m *Peer_Device) GetOs() string

func (*Peer_Device) Marshal

func (m *Peer_Device) Marshal() (dAtA []byte, err error)

func (*Peer_Device) MarshalTo

func (m *Peer_Device) MarshalTo(dAtA []byte) (int, error)

func (*Peer_Device) MarshalToSizedBuffer

func (m *Peer_Device) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Peer_Device) ProtoMessage

func (*Peer_Device) ProtoMessage()

func (*Peer_Device) Reset

func (m *Peer_Device) Reset()

func (*Peer_Device) Size

func (m *Peer_Device) Size() (n int)

func (*Peer_Device) String

func (m *Peer_Device) String() string

func (*Peer_Device) Unmarshal

func (m *Peer_Device) Unmarshal(dAtA []byte) error

func (*Peer_Device) XXX_DiscardUnknown

func (m *Peer_Device) XXX_DiscardUnknown()

func (*Peer_Device) XXX_Marshal

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

func (*Peer_Device) XXX_Merge

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

func (*Peer_Device) XXX_Size

func (m *Peer_Device) XXX_Size() int

func (*Peer_Device) XXX_Unmarshal

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

type Peer_Status

type Peer_Status int32

Peers Active Status

const (
	Peer_STATUS_UNSPECIFIED Peer_Status = 0
	Peer_STATUS_ONLINE      Peer_Status = 1
	Peer_STATUS_AWAY        Peer_Status = 2
	Peer_STATUS_BUSY        Peer_Status = 3
)

func (Peer_Status) EnumDescriptor

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

func (Peer_Status) String

func (x Peer_Status) String() string

type Profile

type Profile struct {
	SName        string `protobuf:"bytes,1,opt,name=s_name,json=sName,proto3" json:"s_name,omitempty"`
	FirstName    string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName     string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Picture      []byte `protobuf:"bytes,4,opt,name=picture,proto3" json:"picture,omitempty"`
	Bio          string `protobuf:"bytes,6,opt,name=bio,proto3" json:"bio,omitempty"`
	LastModified int64  `protobuf:"varint,7,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
}

General Information about Peer passed during Authentication

func (*Profile) Descriptor

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

func (*Profile) GetBio

func (m *Profile) GetBio() string

func (*Profile) GetFirstName

func (m *Profile) GetFirstName() string

func (*Profile) GetLastModified

func (m *Profile) GetLastModified() int64

func (*Profile) GetLastName

func (m *Profile) GetLastName() string

func (*Profile) GetPicture

func (m *Profile) GetPicture() []byte

func (*Profile) GetSName

func (m *Profile) GetSName() string

func (*Profile) Marshal

func (m *Profile) Marshal() (dAtA []byte, err error)

func (*Profile) MarshalTo

func (m *Profile) MarshalTo(dAtA []byte) (int, error)

func (*Profile) MarshalToSizedBuffer

func (m *Profile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) Reset

func (m *Profile) Reset()

func (*Profile) Size

func (m *Profile) Size() (n int)

func (*Profile) String

func (m *Profile) String() string

func (*Profile) Unmarshal

func (m *Profile) Unmarshal(dAtA []byte) error

func (*Profile) XXX_DiscardUnknown

func (m *Profile) XXX_DiscardUnknown()

func (*Profile) XXX_Marshal

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

func (*Profile) XXX_Merge

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

func (*Profile) XXX_Size

func (m *Profile) XXX_Size() int

func (*Profile) XXX_Unmarshal

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

type QueryAllWhoIsRequest

type QueryAllWhoIsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllWhoIsRequest) Descriptor

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

func (*QueryAllWhoIsRequest) GetPagination

func (m *QueryAllWhoIsRequest) GetPagination() *query.PageRequest

func (*QueryAllWhoIsRequest) Marshal

func (m *QueryAllWhoIsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllWhoIsRequest) MarshalTo

func (m *QueryAllWhoIsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllWhoIsRequest) MarshalToSizedBuffer

func (m *QueryAllWhoIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllWhoIsRequest) ProtoMessage

func (*QueryAllWhoIsRequest) ProtoMessage()

func (*QueryAllWhoIsRequest) Reset

func (m *QueryAllWhoIsRequest) Reset()

func (*QueryAllWhoIsRequest) Size

func (m *QueryAllWhoIsRequest) Size() (n int)

func (*QueryAllWhoIsRequest) String

func (m *QueryAllWhoIsRequest) String() string

func (*QueryAllWhoIsRequest) Unmarshal

func (m *QueryAllWhoIsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllWhoIsRequest) XXX_DiscardUnknown

func (m *QueryAllWhoIsRequest) XXX_DiscardUnknown()

func (*QueryAllWhoIsRequest) XXX_Marshal

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

func (*QueryAllWhoIsRequest) XXX_Merge

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

func (*QueryAllWhoIsRequest) XXX_Size

func (m *QueryAllWhoIsRequest) XXX_Size() int

func (*QueryAllWhoIsRequest) XXX_Unmarshal

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

type QueryAllWhoIsResponse

type QueryAllWhoIsResponse struct {
	WhoIs      []WhoIs             `protobuf:"bytes,1,rep,name=whoIs,proto3" json:"whoIs"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllWhoIsResponse) Descriptor

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

func (*QueryAllWhoIsResponse) GetPagination

func (m *QueryAllWhoIsResponse) GetPagination() *query.PageResponse

func (*QueryAllWhoIsResponse) GetWhoIs

func (m *QueryAllWhoIsResponse) GetWhoIs() []WhoIs

func (*QueryAllWhoIsResponse) Marshal

func (m *QueryAllWhoIsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllWhoIsResponse) MarshalTo

func (m *QueryAllWhoIsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllWhoIsResponse) MarshalToSizedBuffer

func (m *QueryAllWhoIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllWhoIsResponse) ProtoMessage

func (*QueryAllWhoIsResponse) ProtoMessage()

func (*QueryAllWhoIsResponse) Reset

func (m *QueryAllWhoIsResponse) Reset()

func (*QueryAllWhoIsResponse) Size

func (m *QueryAllWhoIsResponse) Size() (n int)

func (*QueryAllWhoIsResponse) String

func (m *QueryAllWhoIsResponse) String() string

func (*QueryAllWhoIsResponse) Unmarshal

func (m *QueryAllWhoIsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllWhoIsResponse) XXX_DiscardUnknown

func (m *QueryAllWhoIsResponse) XXX_DiscardUnknown()

func (*QueryAllWhoIsResponse) XXX_Marshal

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

func (*QueryAllWhoIsResponse) XXX_Merge

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

func (*QueryAllWhoIsResponse) XXX_Size

func (m *QueryAllWhoIsResponse) XXX_Size() int

func (*QueryAllWhoIsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a WhoIs by index.
	WhoIs(ctx context.Context, in *QueryGetWhoIsRequest, opts ...grpc.CallOption) (*QueryGetWhoIsResponse, error)
	// Queries a list of WhoIs items.
	WhoIsAll(ctx context.Context, in *QueryAllWhoIsRequest, opts ...grpc.CallOption) (*QueryAllWhoIsResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetWhoIsRequest

type QueryGetWhoIsRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetWhoIsRequest) Descriptor

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

func (*QueryGetWhoIsRequest) GetIndex

func (m *QueryGetWhoIsRequest) GetIndex() string

func (*QueryGetWhoIsRequest) Marshal

func (m *QueryGetWhoIsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetWhoIsRequest) MarshalTo

func (m *QueryGetWhoIsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetWhoIsRequest) MarshalToSizedBuffer

func (m *QueryGetWhoIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetWhoIsRequest) ProtoMessage

func (*QueryGetWhoIsRequest) ProtoMessage()

func (*QueryGetWhoIsRequest) Reset

func (m *QueryGetWhoIsRequest) Reset()

func (*QueryGetWhoIsRequest) Size

func (m *QueryGetWhoIsRequest) Size() (n int)

func (*QueryGetWhoIsRequest) String

func (m *QueryGetWhoIsRequest) String() string

func (*QueryGetWhoIsRequest) Unmarshal

func (m *QueryGetWhoIsRequest) Unmarshal(dAtA []byte) error

func (*QueryGetWhoIsRequest) XXX_DiscardUnknown

func (m *QueryGetWhoIsRequest) XXX_DiscardUnknown()

func (*QueryGetWhoIsRequest) XXX_Marshal

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

func (*QueryGetWhoIsRequest) XXX_Merge

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

func (*QueryGetWhoIsRequest) XXX_Size

func (m *QueryGetWhoIsRequest) XXX_Size() int

func (*QueryGetWhoIsRequest) XXX_Unmarshal

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

type QueryGetWhoIsResponse

type QueryGetWhoIsResponse struct {
	WhoIs WhoIs `protobuf:"bytes,1,opt,name=whoIs,proto3" json:"whoIs"`
}

func (*QueryGetWhoIsResponse) Descriptor

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

func (*QueryGetWhoIsResponse) GetWhoIs

func (m *QueryGetWhoIsResponse) GetWhoIs() WhoIs

func (*QueryGetWhoIsResponse) Marshal

func (m *QueryGetWhoIsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetWhoIsResponse) MarshalTo

func (m *QueryGetWhoIsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetWhoIsResponse) MarshalToSizedBuffer

func (m *QueryGetWhoIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetWhoIsResponse) ProtoMessage

func (*QueryGetWhoIsResponse) ProtoMessage()

func (*QueryGetWhoIsResponse) Reset

func (m *QueryGetWhoIsResponse) Reset()

func (*QueryGetWhoIsResponse) Size

func (m *QueryGetWhoIsResponse) Size() (n int)

func (*QueryGetWhoIsResponse) String

func (m *QueryGetWhoIsResponse) String() string

func (*QueryGetWhoIsResponse) Unmarshal

func (m *QueryGetWhoIsResponse) Unmarshal(dAtA []byte) error

func (*QueryGetWhoIsResponse) XXX_DiscardUnknown

func (m *QueryGetWhoIsResponse) XXX_DiscardUnknown()

func (*QueryGetWhoIsResponse) XXX_Marshal

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

func (*QueryGetWhoIsResponse) XXX_Merge

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

func (*QueryGetWhoIsResponse) XXX_Size

func (m *QueryGetWhoIsResponse) XXX_Size() int

func (*QueryGetWhoIsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a WhoIs by index.
	WhoIs(context.Context, *QueryGetWhoIsRequest) (*QueryGetWhoIsResponse, error)
	// Queries a list of WhoIs items.
	WhoIsAll(context.Context, *QueryAllWhoIsRequest) (*QueryAllWhoIsResponse, error)
}

QueryServer is the server API for Query service.

type ServiceConfig

type ServiceConfig struct {
	// Name is the name of the service.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description is a human readable description of the service.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Id is the DID of the service.
	Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`
	// Maintainers is the DID of the service maintainers.
	Maintainers []string `protobuf:"bytes,4,rep,name=maintainers,proto3" json:"maintainers,omitempty"`
	// Channels is a list of channels the service is registered on.
	Channels []string `protobuf:"bytes,5,rep,name=channels,proto3" json:"channels,omitempty"`
	// Buckets is a list of buckets the service is registered on.
	Buckets []string `protobuf:"bytes,6,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// Objects is a map of objects the service is registered on.
	Objects map[string]*types.ObjectDoc `` /* 155-byte string literal not displayed */
	// Endpoints is a list of endpoints the service is registered on.
	Endpoints []string `protobuf:"bytes,8,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Metadata is the metadata associated with the event.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// Version is the version of the service. Version must be a semantic version.
	Version string `protobuf:"bytes,10,opt,name=version,proto3" json:"version,omitempty"`
}

ServiceConfig is the configuration for a service.

func (*ServiceConfig) Descriptor

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

func (*ServiceConfig) GetBuckets

func (m *ServiceConfig) GetBuckets() []string

func (*ServiceConfig) GetChannels

func (m *ServiceConfig) GetChannels() []string

func (*ServiceConfig) GetDescription

func (m *ServiceConfig) GetDescription() string

func (*ServiceConfig) GetDid

func (m *ServiceConfig) GetDid() string

func (*ServiceConfig) GetEndpoints

func (m *ServiceConfig) GetEndpoints() []string

func (*ServiceConfig) GetMaintainers

func (m *ServiceConfig) GetMaintainers() []string

func (*ServiceConfig) GetMetadata

func (m *ServiceConfig) GetMetadata() map[string]string

func (*ServiceConfig) GetName

func (m *ServiceConfig) GetName() string

func (*ServiceConfig) GetObjects

func (m *ServiceConfig) GetObjects() map[string]*types.ObjectDoc

func (*ServiceConfig) GetVersion

func (m *ServiceConfig) GetVersion() string

func (*ServiceConfig) Marshal

func (m *ServiceConfig) Marshal() (dAtA []byte, err error)

func (*ServiceConfig) MarshalTo

func (m *ServiceConfig) MarshalTo(dAtA []byte) (int, error)

func (*ServiceConfig) MarshalToSizedBuffer

func (m *ServiceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceConfig) ProtoMessage

func (*ServiceConfig) ProtoMessage()

func (*ServiceConfig) Reset

func (m *ServiceConfig) Reset()

func (*ServiceConfig) Size

func (m *ServiceConfig) Size() (n int)

func (*ServiceConfig) String

func (m *ServiceConfig) String() string

func (*ServiceConfig) Unmarshal

func (m *ServiceConfig) Unmarshal(dAtA []byte) error

func (*ServiceConfig) XXX_DiscardUnknown

func (m *ServiceConfig) XXX_DiscardUnknown()

func (*ServiceConfig) XXX_Marshal

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

func (*ServiceConfig) XXX_Merge

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

func (*ServiceConfig) XXX_Size

func (m *ServiceConfig) XXX_Size() int

func (*ServiceConfig) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AccessName

func (*UnimplementedMsgServer) AccessService

func (*UnimplementedMsgServer) CreateWhoIs

func (*UnimplementedMsgServer) DeleteWhoIs

func (*UnimplementedMsgServer) RegisterName

func (*UnimplementedMsgServer) RegisterService

func (*UnimplementedMsgServer) UpdateName

func (*UnimplementedMsgServer) UpdateService

func (*UnimplementedMsgServer) UpdateWhoIs

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) WhoIs

func (*UnimplementedQueryServer) WhoIsAll

type WhoIs

type WhoIs struct {
	// Name is the registered name of the User
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// DID is the DID of the account
	Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	// Document is the DID Document of the registered name and account encoded as JSON
	Document []byte `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"`
	// Creator is the DID of the creator of the DID Document
	Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
}

WhoIs is the entry pointing a registered name to a user account address, Did Url string, and a DIDDocument.

func (*WhoIs) Descriptor

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

func (*WhoIs) GetCreator

func (m *WhoIs) GetCreator() string

func (*WhoIs) GetDid

func (m *WhoIs) GetDid() string

func (*WhoIs) GetDocument

func (m *WhoIs) GetDocument() []byte

func (*WhoIs) GetName

func (m *WhoIs) GetName() string

func (*WhoIs) Marshal

func (m *WhoIs) Marshal() (dAtA []byte, err error)

func (*WhoIs) MarshalTo

func (m *WhoIs) MarshalTo(dAtA []byte) (int, error)

func (*WhoIs) MarshalToSizedBuffer

func (m *WhoIs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WhoIs) ProtoMessage

func (*WhoIs) ProtoMessage()

func (*WhoIs) Reset

func (m *WhoIs) Reset()

func (*WhoIs) Size

func (m *WhoIs) Size() (n int)

func (*WhoIs) String

func (m *WhoIs) String() string

func (*WhoIs) Unmarshal

func (m *WhoIs) Unmarshal(dAtA []byte) error

func (*WhoIs) XXX_DiscardUnknown

func (m *WhoIs) XXX_DiscardUnknown()

func (*WhoIs) XXX_Marshal

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

func (*WhoIs) XXX_Merge

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

func (*WhoIs) XXX_Size

func (m *WhoIs) XXX_Size() int

func (*WhoIs) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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