types

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: GPL-3.0 Imports: 47 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 TypeMsgAccessApplication = "access_application"
View Source
const TypeMsgAccessName = "access_name"
View Source
const TypeMsgRegisterApplication = "register_application"
View Source
const TypeMsgRegisterName = "register_name"
View Source
const TypeMsgUpdateApplication = "update_application"
View Source
const TypeMsgUpdateName = "update_name"
View Source
const (
	// WhoIsKeyPrefix is the prefix to retrieve all WhoIs
	WhoIsKeyPrefix = "WhoIs/value/"
)

Variables

View Source
var (
	ErrInvalidLengthAuthenticator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthenticator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthenticator = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthCredential        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCredential          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCredential = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// Validator Errors
	ErrNameTooShort     = sdkerrors.Register(ModuleName, 1100, "Provided Sonr Name is Too Short")
	ErrNameInvalid      = sdkerrors.Register(ModuleName, 1101, "Provided Sonr Name contains invalid characters")
	ErrNameRegistered   = sdkerrors.Register(ModuleName, 1102, "Provided Sonr Name has already been registered")
	ErrInvalidWhoisType = sdkerrors.Register(ModuleName, 1103, "Returned whois type for name is not of required type")

	// COSEKey Errors
	ErrDecodeAttestedCredentialData = Error{/* contains filtered or unexported fields */}
	ErrDecodeAuthenticatorData      = Error{/* contains filtered or unexported fields */}
	ErrDecodeCOSEKey                = Error{/* contains filtered or unexported fields */}
	ErrECDAANotSupported            = Error{/* contains filtered or unexported fields */}
	ErrEncodeAttestedCredentialData = Error{/* contains filtered or unexported fields */}
	ErrEncodeAuthenticatorData      = Error{/* contains filtered or unexported fields */}
	ErrGenerateChallenge            = Error{/* contains filtered or unexported fields */}
	ErrMarshalAttestationObject     = Error{/* contains filtered or unexported fields */}
	ErrOption                       = Error{/* contains filtered or unexported fields */}
	ErrNotImplemented               = Error{/* contains filtered or unexported fields */}
	ErrUnmarshalAttestationObject   = Error{/* contains filtered or unexported fields */}
	ErrVerifyAttestation            = Error{/* contains filtered or unexported fields */}
	ErrVerifyAuthentication         = Error{/* contains filtered or unexported fields */}
	ErrVerifyClientExtensionOutput  = Error{/* contains filtered or unexported fields */}
	ErrVerifyRegistration           = Error{/* contains filtered or unexported fields */}
	ErrVerifySignature              = Error{/* contains filtered or unexported fields */}
)

x/registry module sentinel errors

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 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,
}
View Source
var WhoIs_Type_name = map[int32]string{
	0: "User",
	1: "Application",
}
View Source
var WhoIs_Type_value = map[string]int32{
	"User":        0,
	"Application": 1,
}

Functions

func CleanNameForSuffix added in v0.0.3

func CleanNameForSuffix(name string) string

CleanName checks if the username is available

func DecodePublicKey added in v0.0.3

func DecodePublicKey(coseKey *COSEKey) (crypto.PublicKey, error)

DecodePublicKey parses a crypto.PublicKey from a COSEKey

func GenerateApplicationDid added in v0.0.7

func GenerateApplicationDid(accountAddr, appToRegister string, cred *Credential) (*did.Document, error)

GenerateNameDid generates a new did document

func GenerateNameDid added in v0.0.7

func GenerateNameDid(accountAddr, nameToRegister string, cred *Credential) (*did.Document, error)

GenerateNameDid generates a new did document

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 ValidateAppName added in v0.0.7

func ValidateAppName(rs string) (string, error)

ValidateAppName checks if the given name to register is correct length and valid characters

func ValidateName added in v0.0.7

func ValidateName(rs string) (string, error)

ValidateName checks if the given name to register is correct length and valid characters

func VerifySignature added in v0.0.3

func VerifySignature(rawKey cbor.RawMessage, message, sig []byte) error

VerifySignature verifies a signature using a provided COSEKey, message, and signature

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 Authenticator added in v0.0.3

type Authenticator struct {
	// The AAGUID of the authenticator. An AAGUID is defined as an array containing the globally unique
	// identifier of the authenticator model being sought.
	Aaguid []byte `protobuf:"bytes,1,opt,name=aaguid,proto3" json:"aaguid,omitempty"`
	// SignCount -Upon a new login operation, the Relying Party compares the stored signature counter value
	// with the new sign_count value returned in the assertion’s authenticator data. If this new
	// signCount value is less than or equal to the stored value, a cloned authenticator may
	// exist, or the authenticator may be malfunctioning.
	SignCount uint32 `protobuf:"varint,2,opt,name=sign_count,json=signCount,proto3" json:"sign_count,omitempty"`
	// CloneWarning - This is a signal that the authenticator may be cloned, i.e. at least two copies of the
	// credential private key may exist and are being used in parallel. Relying Parties should incorporate
	// this information into their risk scoring. Whether the Relying Party updates the stored signature
	// counter value in this case, or not, or fails the authentication ceremony or not, is Relying Party-specific.
	CloneWarning bool `protobuf:"varint,3,opt,name=clone_warning,json=cloneWarning,proto3" json:"clone_warning,omitempty"`
}

func ConvertToSonrAuthenticator added in v0.0.3

func ConvertToSonrAuthenticator(auth webauthn.Authenticator) *Authenticator

ConvertToSonrAuthenticator converts a webauthn.Authenticator to a sonrio.sonr.registry.Authenticator

func (*Authenticator) Descriptor added in v0.0.3

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

func (*Authenticator) GetAaguid added in v0.0.3

func (m *Authenticator) GetAaguid() []byte

func (*Authenticator) GetCloneWarning added in v0.0.3

func (m *Authenticator) GetCloneWarning() bool

func (*Authenticator) GetSignCount added in v0.0.3

func (m *Authenticator) GetSignCount() uint32

func (*Authenticator) Marshal added in v0.0.3

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

func (*Authenticator) MarshalTo added in v0.0.3

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

func (*Authenticator) MarshalToSizedBuffer added in v0.0.3

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

func (*Authenticator) ProtoMessage added in v0.0.3

func (*Authenticator) ProtoMessage()

func (*Authenticator) Reset added in v0.0.3

func (m *Authenticator) Reset()

func (*Authenticator) Size added in v0.0.3

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

func (*Authenticator) String added in v0.0.3

func (m *Authenticator) String() string

func (*Authenticator) ToWebAuthn added in v0.0.3

func (auth *Authenticator) ToWebAuthn() webauthn.Authenticator

ToWebAuthn converts a sonrio.sonr.registry.Authenticator to a webauthn.Authenticator

func (*Authenticator) Unmarshal added in v0.0.3

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

func (*Authenticator) XXX_DiscardUnknown added in v0.0.3

func (m *Authenticator) XXX_DiscardUnknown()

func (*Authenticator) XXX_Marshal added in v0.0.3

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

func (*Authenticator) XXX_Merge added in v0.0.3

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

func (*Authenticator) XXX_Size added in v0.0.3

func (m *Authenticator) XXX_Size() int

func (*Authenticator) XXX_Unmarshal added in v0.0.3

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

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 COSEAlgorithmIdentifier added in v0.0.3

type COSEAlgorithmIdentifier int

COSEAlgorithmIdentifier is a number identifying a cryptographic algorithm

const (
	AlgorithmRS1   COSEAlgorithmIdentifier = -65535
	AlgorithmRS512 COSEAlgorithmIdentifier = -259
	AlgorithmRS384 COSEAlgorithmIdentifier = -258
	AlgorithmRS256 COSEAlgorithmIdentifier = -257
	AlgorithmPS512 COSEAlgorithmIdentifier = -39
	AlgorithmPS384 COSEAlgorithmIdentifier = -38
	AlgorithmPS256 COSEAlgorithmIdentifier = -37
	AlgorithmES512 COSEAlgorithmIdentifier = -36
	AlgorithmES384 COSEAlgorithmIdentifier = -35
	AlgorithmEdDSA COSEAlgorithmIdentifier = -8
	AlgorithmES256 COSEAlgorithmIdentifier = -7
)

enum values for COSEAlgorithmIdentifier type

type COSEEllipticCurve added in v0.0.3

type COSEEllipticCurve int

COSEEllipticCurve is a number identifying an elliptic curve

const (
	CurveP256 COSEEllipticCurve = 1
	CurveP384 COSEEllipticCurve = 2
	CurveP521 COSEEllipticCurve = 3
)

enum values for COSEEllipticCurve type

type COSEKey added in v0.0.3

type COSEKey struct {
	Kty       int             `cbor:"1,keyasint,omitempty"`
	Kid       []byte          `cbor:"2,keyasint,omitempty"`
	Alg       int             `cbor:"3,keyasint,omitempty"`
	KeyOpts   int             `cbor:"4,keyasint,omitempty"`
	IV        []byte          `cbor:"5,keyasint,omitempty"`
	CrvOrNOrK cbor.RawMessage `cbor:"-1,keyasint,omitempty"` // K for symmetric keys, Crv for elliptic curve keys, N for RSA modulus
	XOrE      cbor.RawMessage `cbor:"-2,keyasint,omitempty"` // X for curve x-coordinate, E for RSA public exponent
	Y         cbor.RawMessage `cbor:"-3,keyasint,omitempty"` // Y for curve y-cooridate
	D         []byte          `cbor:"-4,keyasint,omitempty"`
}

COSEKey represents a key decoded from COSE format.

type COSEKeyType added in v0.0.3

type COSEKeyType int

COSEKeyType is a number identifying a key type

const (
	KeyTypeOKP COSEKeyType = 1
	KeyTypeEC2 COSEKeyType = 2
	KeyTypeRSA COSEKeyType = 3
)

enum values for COSEKeyType type

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 Credential added in v0.0.3

type Credential struct {
	// A probabilistically-unique byte sequence identifying a public key credential source and its authentication assertions.
	ID []byte `protobuf:"bytes,1,opt,name=i_d,json=iD,proto3" json:"i_d,omitempty"`
	// The public key portion of a Relying Party-specific credential key pair, generated by an authenticator and returned to
	// a Relying Party at registration time (see also public key credential). The private key portion of the credential key
	// pair is known as the credential private key. Note that in the case of self attestation, the credential key pair is also
	// used as the attestation key pair, see self attestation for details.
	PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// The attestation format used (if any) by the authenticator when creating the credential.
	AttestationType string `protobuf:"bytes,3,opt,name=attestation_type,json=attestationType,proto3" json:"attestation_type,omitempty"`
	// The Authenticator information for a given certificate
	Authenticator *Authenticator `protobuf:"bytes,4,opt,name=authenticator,proto3" json:"authenticator,omitempty"`
}

func ConvertToSonrCredential added in v0.0.3

func ConvertToSonrCredential(cred webauthn.Credential) *Credential

ConvertToSonrCredential converts a webauthn.Credential to a sonrio.sonr.registry.Credential

func (*Credential) DecodePublicKey added in v0.0.3

func (cred *Credential) DecodePublicKey() (crypto.PublicKey, error)

DecodePublicKey converts a public key from a CBOR encoded byte array to a crypto.PublicKey

func (*Credential) Descriptor added in v0.0.3

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

func (*Credential) GetAttestationType added in v0.0.3

func (m *Credential) GetAttestationType() string

func (*Credential) GetAuthenticator added in v0.0.3

func (m *Credential) GetAuthenticator() *Authenticator

func (*Credential) GetID added in v0.0.3

func (m *Credential) GetID() []byte

func (*Credential) GetPublicKey added in v0.0.3

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

func (*Credential) Marshal added in v0.0.3

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

func (*Credential) MarshalTo added in v0.0.3

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

func (*Credential) MarshalToSizedBuffer added in v0.0.3

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

func (*Credential) ProtoMessage added in v0.0.3

func (*Credential) ProtoMessage()

func (*Credential) Reset added in v0.0.3

func (m *Credential) Reset()

func (*Credential) Size added in v0.0.3

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

func (*Credential) String added in v0.0.3

func (m *Credential) String() string

func (*Credential) ToWebAuthn added in v0.0.3

func (cred *Credential) ToWebAuthn() webauthn.Credential

ToWebAuthn converts a sonrio.sonr.registry.Credential to a webauthn.Credential

func (*Credential) Unmarshal added in v0.0.3

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

func (*Credential) XXX_DiscardUnknown added in v0.0.3

func (m *Credential) XXX_DiscardUnknown()

func (*Credential) XXX_Marshal added in v0.0.3

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

func (*Credential) XXX_Merge added in v0.0.3

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

func (*Credential) XXX_Size added in v0.0.3

func (m *Credential) XXX_Size() int

func (*Credential) XXX_Unmarshal added in v0.0.3

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

type Error added in v0.0.3

type Error struct {
	// contains filtered or unexported fields
}

Error represents an error in a WebAuthn relying party operation

func NewError added in v0.0.3

func NewError(fmStr string, els ...interface{}) Error

NewError returns a new Error with a custom message

func (Error) Error added in v0.0.3

func (e Error) Error() string

Error implements the error interface

func (Error) Is added in v0.0.3

func (e Error) Is(target error) bool

Is establishes equality for error types

func (Error) Unwrap added in v0.0.3

func (e Error) Unwrap() error

Unwrap allows for error unwrapping

func (Error) Wrap added in v0.0.3

func (e Error) Wrap(err error) Error

Wrap returns a new error which contains the provided error wrapped with this error

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 MsgAccessApplication added in v0.0.7

type MsgAccessApplication struct {
	// The account that is accessing the Application
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// The name of the Application to access
	AppName string `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"`
}

func NewMsgAccessApplication added in v0.0.7

func NewMsgAccessApplication(creator string, appName string) *MsgAccessApplication

func (*MsgAccessApplication) Descriptor added in v0.0.7

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

func (*MsgAccessApplication) GetAppName added in v0.0.7

func (m *MsgAccessApplication) GetAppName() string

func (*MsgAccessApplication) GetCreator added in v0.0.7

func (m *MsgAccessApplication) GetCreator() string

func (*MsgAccessApplication) GetSignBytes added in v0.0.7

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

func (*MsgAccessApplication) GetSigners added in v0.0.7

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

func (*MsgAccessApplication) Marshal added in v0.0.7

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

func (*MsgAccessApplication) MarshalTo added in v0.0.7

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

func (*MsgAccessApplication) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgAccessApplication) ProtoMessage added in v0.0.7

func (*MsgAccessApplication) ProtoMessage()

func (*MsgAccessApplication) Reset added in v0.0.7

func (m *MsgAccessApplication) Reset()

func (*MsgAccessApplication) Route added in v0.0.7

func (msg *MsgAccessApplication) Route() string

func (*MsgAccessApplication) Size added in v0.0.7

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

func (*MsgAccessApplication) String added in v0.0.7

func (m *MsgAccessApplication) String() string

func (*MsgAccessApplication) Type added in v0.0.7

func (msg *MsgAccessApplication) Type() string

func (*MsgAccessApplication) Unmarshal added in v0.0.7

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

func (*MsgAccessApplication) ValidateBasic added in v0.0.7

func (msg *MsgAccessApplication) ValidateBasic() error

func (*MsgAccessApplication) XXX_DiscardUnknown added in v0.0.7

func (m *MsgAccessApplication) XXX_DiscardUnknown()

func (*MsgAccessApplication) XXX_Marshal added in v0.0.7

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

func (*MsgAccessApplication) XXX_Merge added in v0.0.7

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

func (*MsgAccessApplication) XXX_Size added in v0.0.7

func (m *MsgAccessApplication) XXX_Size() int

func (*MsgAccessApplication) XXX_Unmarshal added in v0.0.7

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

type MsgAccessApplicationResponse added in v0.0.7

type MsgAccessApplicationResponse 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 */
	// WhoIs for the registered name
	WhoIs *WhoIs `protobuf:"bytes,4,opt,name=whoIs,proto3" json:"whoIs,omitempty"`
}

func (*MsgAccessApplicationResponse) Descriptor added in v0.0.7

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

func (*MsgAccessApplicationResponse) GetCode added in v0.0.7

func (m *MsgAccessApplicationResponse) GetCode() int32

func (*MsgAccessApplicationResponse) GetMessage added in v0.0.7

func (m *MsgAccessApplicationResponse) GetMessage() string

func (*MsgAccessApplicationResponse) GetMetadata added in v0.0.7

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

func (*MsgAccessApplicationResponse) GetWhoIs added in v0.0.7

func (m *MsgAccessApplicationResponse) GetWhoIs() *WhoIs

func (*MsgAccessApplicationResponse) Marshal added in v0.0.7

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

func (*MsgAccessApplicationResponse) MarshalTo added in v0.0.7

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

func (*MsgAccessApplicationResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgAccessApplicationResponse) ProtoMessage added in v0.0.7

func (*MsgAccessApplicationResponse) ProtoMessage()

func (*MsgAccessApplicationResponse) Reset added in v0.0.7

func (m *MsgAccessApplicationResponse) Reset()

func (*MsgAccessApplicationResponse) Size added in v0.0.7

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

func (*MsgAccessApplicationResponse) String added in v0.0.7

func (*MsgAccessApplicationResponse) Unmarshal added in v0.0.7

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

func (*MsgAccessApplicationResponse) XXX_DiscardUnknown added in v0.0.7

func (m *MsgAccessApplicationResponse) XXX_DiscardUnknown()

func (*MsgAccessApplicationResponse) XXX_Marshal added in v0.0.7

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

func (*MsgAccessApplicationResponse) XXX_Merge added in v0.0.7

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

func (*MsgAccessApplicationResponse) XXX_Size added in v0.0.7

func (m *MsgAccessApplicationResponse) XXX_Size() int

func (*MsgAccessApplicationResponse) XXX_Unmarshal added in v0.0.7

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

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 {
	// The DID Url of the name
	Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
	// The Document for the registered DID in Json format
	DidDocumentJson []byte `protobuf:"bytes,2,opt,name=didDocumentJson,proto3" json:"didDocumentJson,omitempty"`
	// WhoIs for the name
	WhoIs *WhoIs `protobuf:"bytes,3,opt,name=whoIs,proto3" json:"whoIs,omitempty"`
}

func (*MsgAccessNameResponse) Descriptor

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

func (*MsgAccessNameResponse) GetDid

func (m *MsgAccessNameResponse) GetDid() string

func (*MsgAccessNameResponse) GetDidDocumentJson added in v0.0.3

func (m *MsgAccessNameResponse) GetDidDocumentJson() []byte

func (*MsgAccessNameResponse) GetWhoIs added in v0.0.3

func (m *MsgAccessNameResponse) GetWhoIs() *WhoIs

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 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 MsgRegisterApplication added in v0.0.7

type MsgRegisterApplication struct {
	// Creator is the account address of the creator of the Application.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// Application Name is the endpoint of the Application.
	ApplicationName string `protobuf:"bytes,2,opt,name=ApplicationName,proto3" json:"ApplicationName,omitempty"`
	// Client side JSON Web Token for AssertionMethod
	Credential *Credential `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"`
}

func NewMsgRegisterApplication added in v0.0.7

func NewMsgRegisterApplication(creator string, serviceName string, c *Credential) *MsgRegisterApplication

func (*MsgRegisterApplication) Descriptor added in v0.0.7

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

func (*MsgRegisterApplication) GetApplicationName added in v0.0.7

func (m *MsgRegisterApplication) GetApplicationName() string

func (*MsgRegisterApplication) GetCreator added in v0.0.7

func (m *MsgRegisterApplication) GetCreator() string

func (*MsgRegisterApplication) GetCredential added in v0.0.7

func (m *MsgRegisterApplication) GetCredential() *Credential

func (*MsgRegisterApplication) GetSignBytes added in v0.0.7

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

func (*MsgRegisterApplication) GetSigners added in v0.0.7

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

func (*MsgRegisterApplication) Marshal added in v0.0.7

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

func (*MsgRegisterApplication) MarshalTo added in v0.0.7

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

func (*MsgRegisterApplication) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgRegisterApplication) ProtoMessage added in v0.0.7

func (*MsgRegisterApplication) ProtoMessage()

func (*MsgRegisterApplication) Reset added in v0.0.7

func (m *MsgRegisterApplication) Reset()

func (*MsgRegisterApplication) Route added in v0.0.7

func (msg *MsgRegisterApplication) Route() string

func (*MsgRegisterApplication) Size added in v0.0.7

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

func (*MsgRegisterApplication) String added in v0.0.7

func (m *MsgRegisterApplication) String() string

func (*MsgRegisterApplication) Type added in v0.0.7

func (msg *MsgRegisterApplication) Type() string

func (*MsgRegisterApplication) Unmarshal added in v0.0.7

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

func (*MsgRegisterApplication) ValidateBasic added in v0.0.7

func (msg *MsgRegisterApplication) ValidateBasic() error

func (*MsgRegisterApplication) XXX_DiscardUnknown added in v0.0.7

func (m *MsgRegisterApplication) XXX_DiscardUnknown()

func (*MsgRegisterApplication) XXX_Marshal added in v0.0.7

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

func (*MsgRegisterApplication) XXX_Merge added in v0.0.7

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

func (*MsgRegisterApplication) XXX_Size added in v0.0.7

func (m *MsgRegisterApplication) XXX_Size() int

func (*MsgRegisterApplication) XXX_Unmarshal added in v0.0.7

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

type MsgRegisterApplicationResponse added in v0.0.7

type MsgRegisterApplicationResponse 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 []byte `protobuf:"bytes,3,opt,name=didDocumentJson,proto3" json:"didDocumentJson,omitempty"`
	// WhoIs for the registered name
	WhoIs *WhoIs `protobuf:"bytes,4,opt,name=whoIs,proto3" json:"whoIs,omitempty"`
}

func (*MsgRegisterApplicationResponse) Descriptor added in v0.0.7

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

func (*MsgRegisterApplicationResponse) GetDidDocumentJson added in v0.0.7

func (m *MsgRegisterApplicationResponse) GetDidDocumentJson() []byte

func (*MsgRegisterApplicationResponse) GetDidUrl added in v0.0.7

func (m *MsgRegisterApplicationResponse) GetDidUrl() string

func (*MsgRegisterApplicationResponse) GetIsSuccess added in v0.0.7

func (m *MsgRegisterApplicationResponse) GetIsSuccess() bool

func (*MsgRegisterApplicationResponse) GetWhoIs added in v0.0.7

func (m *MsgRegisterApplicationResponse) GetWhoIs() *WhoIs

func (*MsgRegisterApplicationResponse) Marshal added in v0.0.7

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

func (*MsgRegisterApplicationResponse) MarshalTo added in v0.0.7

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

func (*MsgRegisterApplicationResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgRegisterApplicationResponse) ProtoMessage added in v0.0.7

func (*MsgRegisterApplicationResponse) ProtoMessage()

func (*MsgRegisterApplicationResponse) Reset added in v0.0.7

func (m *MsgRegisterApplicationResponse) Reset()

func (*MsgRegisterApplicationResponse) Size added in v0.0.7

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

func (*MsgRegisterApplicationResponse) String added in v0.0.7

func (*MsgRegisterApplicationResponse) Unmarshal added in v0.0.7

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

func (*MsgRegisterApplicationResponse) XXX_DiscardUnknown added in v0.0.7

func (m *MsgRegisterApplicationResponse) XXX_DiscardUnknown()

func (*MsgRegisterApplicationResponse) XXX_Marshal added in v0.0.7

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

func (*MsgRegisterApplicationResponse) XXX_Merge added in v0.0.7

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

func (*MsgRegisterApplicationResponse) XXX_Size added in v0.0.7

func (m *MsgRegisterApplicationResponse) XXX_Size() int

func (*MsgRegisterApplicationResponse) XXX_Unmarshal added in v0.0.7

func (m *MsgRegisterApplicationResponse) 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"`
	// Selected Name to register
	NameToRegister string `protobuf:"bytes,2,opt,name=nameToRegister,proto3" json:"nameToRegister,omitempty"`
	// Client side JSON Web Token for AssertionMethod
	Credential *Credential `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"`
}

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

func NewMsgRegisterName

func NewMsgRegisterName(creator string, nameToRegister string, cred webauthn.Credential) *MsgRegisterName

NewMsgRegisterName creates a new MsgRegisterName object

func (*MsgRegisterName) Descriptor

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

func (*MsgRegisterName) GetCreator

func (m *MsgRegisterName) GetCreator() string

func (*MsgRegisterName) GetCredential added in v0.0.3

func (m *MsgRegisterName) GetCredential() *Credential

func (*MsgRegisterName) GetNameToRegister

func (m *MsgRegisterName) GetNameToRegister() string

func (*MsgRegisterName) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgRegisterName) GetSigners

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

GetSigners returns the creator of the message

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

Route returns the message type used for routing the message.

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

Type returns the action type

func (*MsgRegisterName) Unmarshal

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

func (*MsgRegisterName) ValidateBasic

func (msg *MsgRegisterName) ValidateBasic() error

Validate verifies the message details

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 []byte `protobuf:"bytes,3,opt,name=didDocumentJson,proto3" json:"didDocumentJson,omitempty"`
	// WhoIs for the registered name
	WhoIs *WhoIs `protobuf:"bytes,4,opt,name=whoIs,proto3" json:"whoIs,omitempty"`
}

func (*MsgRegisterNameResponse) Descriptor

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

func (*MsgRegisterNameResponse) GetDidDocumentJson

func (m *MsgRegisterNameResponse) GetDidDocumentJson() []byte

func (*MsgRegisterNameResponse) GetDidUrl

func (m *MsgRegisterNameResponse) GetDidUrl() string

func (*MsgRegisterNameResponse) GetIsSuccess

func (m *MsgRegisterNameResponse) GetIsSuccess() bool

func (*MsgRegisterNameResponse) GetWhoIs added in v0.0.4

func (m *MsgRegisterNameResponse) GetWhoIs() *WhoIs

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 MsgUpdateApplication added in v0.0.7

type MsgUpdateApplication 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 Application details of
	Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	// The updated configuration for the Application
	Metadata map[string]string `` /* 157-byte string literal not displayed */
}

func NewMsgUpdateApplication added in v0.0.7

func NewMsgUpdateApplication(creator string, did string) *MsgUpdateApplication

func (*MsgUpdateApplication) Descriptor added in v0.0.7

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

func (*MsgUpdateApplication) GetCreator added in v0.0.7

func (m *MsgUpdateApplication) GetCreator() string

func (*MsgUpdateApplication) GetDid added in v0.0.7

func (m *MsgUpdateApplication) GetDid() string

func (*MsgUpdateApplication) GetMetadata added in v0.0.7

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

func (*MsgUpdateApplication) GetSignBytes added in v0.0.7

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

func (*MsgUpdateApplication) GetSigners added in v0.0.7

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

func (*MsgUpdateApplication) Marshal added in v0.0.7

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

func (*MsgUpdateApplication) MarshalTo added in v0.0.7

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

func (*MsgUpdateApplication) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgUpdateApplication) ProtoMessage added in v0.0.7

func (*MsgUpdateApplication) ProtoMessage()

func (*MsgUpdateApplication) Reset added in v0.0.7

func (m *MsgUpdateApplication) Reset()

func (*MsgUpdateApplication) Route added in v0.0.7

func (msg *MsgUpdateApplication) Route() string

func (*MsgUpdateApplication) Size added in v0.0.7

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

func (*MsgUpdateApplication) String added in v0.0.7

func (m *MsgUpdateApplication) String() string

func (*MsgUpdateApplication) Type added in v0.0.7

func (msg *MsgUpdateApplication) Type() string

func (*MsgUpdateApplication) Unmarshal added in v0.0.7

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

func (*MsgUpdateApplication) ValidateBasic added in v0.0.7

func (msg *MsgUpdateApplication) ValidateBasic() error

func (*MsgUpdateApplication) XXX_DiscardUnknown added in v0.0.7

func (m *MsgUpdateApplication) XXX_DiscardUnknown()

func (*MsgUpdateApplication) XXX_Marshal added in v0.0.7

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

func (*MsgUpdateApplication) XXX_Merge added in v0.0.7

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

func (*MsgUpdateApplication) XXX_Size added in v0.0.7

func (m *MsgUpdateApplication) XXX_Size() int

func (*MsgUpdateApplication) XXX_Unmarshal added in v0.0.7

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

type MsgUpdateApplicationResponse added in v0.0.7

type MsgUpdateApplicationResponse 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 */
	// WhoIs for the registered name
	WhoIs *WhoIs `protobuf:"bytes,4,opt,name=whoIs,proto3" json:"whoIs,omitempty"`
}

func (*MsgUpdateApplicationResponse) Descriptor added in v0.0.7

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

func (*MsgUpdateApplicationResponse) GetCode added in v0.0.7

func (m *MsgUpdateApplicationResponse) GetCode() int32

func (*MsgUpdateApplicationResponse) GetMessage added in v0.0.7

func (m *MsgUpdateApplicationResponse) GetMessage() string

func (*MsgUpdateApplicationResponse) GetMetadata added in v0.0.7

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

func (*MsgUpdateApplicationResponse) GetWhoIs added in v0.0.7

func (m *MsgUpdateApplicationResponse) GetWhoIs() *WhoIs

func (*MsgUpdateApplicationResponse) Marshal added in v0.0.7

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

func (*MsgUpdateApplicationResponse) MarshalTo added in v0.0.7

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

func (*MsgUpdateApplicationResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgUpdateApplicationResponse) ProtoMessage added in v0.0.7

func (*MsgUpdateApplicationResponse) ProtoMessage()

func (*MsgUpdateApplicationResponse) Reset added in v0.0.7

func (m *MsgUpdateApplicationResponse) Reset()

func (*MsgUpdateApplicationResponse) Size added in v0.0.7

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

func (*MsgUpdateApplicationResponse) String added in v0.0.7

func (*MsgUpdateApplicationResponse) Unmarshal added in v0.0.7

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

func (*MsgUpdateApplicationResponse) XXX_DiscardUnknown added in v0.0.7

func (m *MsgUpdateApplicationResponse) XXX_DiscardUnknown()

func (*MsgUpdateApplicationResponse) XXX_Marshal added in v0.0.7

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

func (*MsgUpdateApplicationResponse) XXX_Merge added in v0.0.7

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

func (*MsgUpdateApplicationResponse) XXX_Size added in v0.0.7

func (m *MsgUpdateApplicationResponse) XXX_Size() int

func (*MsgUpdateApplicationResponse) XXX_Unmarshal added in v0.0.7

func (m *MsgUpdateApplicationResponse) 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 {
	// 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 (*MsgUpdateNameResponse) Descriptor

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

func (*MsgUpdateNameResponse) GetCreator added in v0.0.7

func (m *MsgUpdateNameResponse) GetCreator() string

func (*MsgUpdateNameResponse) GetDid added in v0.0.7

func (m *MsgUpdateNameResponse) GetDid() 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 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) AccessApplication added in v0.0.7

func (*UnimplementedMsgServer) AccessName

func (*UnimplementedMsgServer) CreateWhoIs

func (*UnimplementedMsgServer) DeleteWhoIs

func (*UnimplementedMsgServer) RegisterApplication added in v0.0.7

func (*UnimplementedMsgServer) RegisterName

func (*UnimplementedMsgServer) UpdateApplication added in v0.0.7

func (*UnimplementedMsgServer) UpdateName

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 or Application
	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"`
	// Credentials are the biometric info of the registered name and account encoded with public key
	Credentials []*Credential `protobuf:"bytes,5,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// Type is the type of the registered name
	Type WhoIs_Type `protobuf:"varint,6,opt,name=type,proto3,enum=sonrio.sonr.registry.WhoIs_Type" json:"type,omitempty"`
}

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

func (*WhoIs) AddCredential added in v0.0.3

func (w *WhoIs) AddCredential(cred *Credential)

AddCredential adds a webauthn credential to the whois object on the registry

func (*WhoIs) CredentialExcludeList added in v0.0.3

func (w *WhoIs) CredentialExcludeList() []protocol.CredentialDescriptor

CredentialExcludeList returns a CredentialDescriptor array filled with all the user's credentials

func (*WhoIs) Descriptor

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

func (*WhoIs) GetCreator

func (m *WhoIs) GetCreator() string

func (*WhoIs) GetCredentials added in v0.0.3

func (m *WhoIs) GetCredentials() []*Credential

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) GetType added in v0.0.7

func (m *WhoIs) GetType() WhoIs_Type

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) WebAuthnCredentials added in v0.0.3

func (w *WhoIs) WebAuthnCredentials() []webauthn.Credential

WebAuthnCredentials returns credentials owned by the user

func (*WhoIs) WebAuthnDisplayName added in v0.0.3

func (w *WhoIs) WebAuthnDisplayName() string

WebAuthnDisplayName returns the display name of the user's authenticator

func (*WhoIs) WebAuthnID added in v0.0.3

func (w *WhoIs) WebAuthnID() []byte

WebAuthnID returns the ID of the user's authenticator

func (*WhoIs) WebAuthnIcon added in v0.0.3

func (w *WhoIs) WebAuthnIcon() string

WebAuthnIcon returns the icon of the user's authenticator

func (*WhoIs) WebAuthnName added in v0.0.3

func (w *WhoIs) WebAuthnName() string

WebAuthnDisplayName returns the display name of the user's authenticator

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

type WhoIs_Type added in v0.0.7

type WhoIs_Type int32

Type is the type of the registered name

const (
	// User is the type of the registered name
	WhoIs_User WhoIs_Type = 0
	// Application is the type of the registered name
	WhoIs_Application WhoIs_Type = 1
)

func (WhoIs_Type) EnumDescriptor added in v0.0.7

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

func (WhoIs_Type) String added in v0.0.7

func (x WhoIs_Type) String() string

Jump to

Keyboard shortcuts

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