types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

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 = "identifier"

	// 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

	// DidPrefix defines the did prefix for this chain
	DidPrefix = "did:cash:"

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_capability"
)
View Source
const (
	TypeMsgAddAuthentication = "add-authentication"
)

msg types

View Source
const (
	TypeMsgAddService = "add-service"
)

msg types

View Source
const (
	TypeMsgCreateIdentifier = "create-identifier"
)

msg types

View Source
const (
	TypeMsgDeleteAuthentication = "delete-authentication"
)

msg types

View Source
const (
	TypeMsgDeleteService = "delete-service"
)

msg types

Variables

View Source
var (
	ErrIdentifierNotFound = sdkerrors.Register(ModuleName, 1100, "identifier not found")
	ErrIdentifierFound    = sdkerrors.Register(ModuleName, 1101, "identifier found")
)

x/identifier module sentinel errors

View Source
var (
	ErrInvalidLengthIdentifier        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIdentifier          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIdentifier = 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 (
	// IdentifierKey prefix for each key to a DidDocument
	IdentifierKey = []byte{0x61}
)
View Source
var (

	// ModuleCdc the Amino codec
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

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)

Types

type Authentication

type Authentication struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type       string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Controller string `protobuf:"bytes,3,opt,name=controller,proto3" json:"controller,omitempty"`
	PublicKey  string `protobuf:"bytes,4,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
}

Authentication defines how to authenticate a did document.

func NewAuthentication

func NewAuthentication(
	id string,
	pubKeyType string,
	controller string,
	encodedValue string,
) Authentication

func (*Authentication) Descriptor

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

func (*Authentication) Equal

func (this *Authentication) Equal(that interface{}) bool

func (*Authentication) GetController

func (m *Authentication) GetController() string

func (*Authentication) GetId

func (m *Authentication) GetId() string

func (*Authentication) GetPublicKey

func (m *Authentication) GetPublicKey() string

func (*Authentication) GetType

func (m *Authentication) GetType() string

func (*Authentication) Marshal

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

func (*Authentication) MarshalTo

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

func (*Authentication) MarshalToSizedBuffer

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

func (*Authentication) ProtoMessage

func (*Authentication) ProtoMessage()

func (*Authentication) Reset

func (m *Authentication) Reset()

func (*Authentication) Size

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

func (*Authentication) String

func (m *Authentication) String() string

func (*Authentication) Unmarshal

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

func (*Authentication) XXX_DiscardUnknown

func (m *Authentication) XXX_DiscardUnknown()

func (*Authentication) XXX_Marshal

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

func (*Authentication) XXX_Merge

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

func (*Authentication) XXX_Size

func (m *Authentication) XXX_Size() int

func (*Authentication) XXX_Unmarshal

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

type Authentications

type Authentications []*Authentication

type DidDocument

type DidDocument struct {
	// @context is spec for did document.
	Context string `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// id represents the id for the did document.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// authentication represents public key associated with the did document.
	Authentication []*Authentication `protobuf:"bytes,3,rep,name=authentication,proto3" json:"authentication,omitempty"`
	// services represents each service associated with a did
	Services []*Service `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"`
}

DidDocument represents a dencentralised identifer.

func NewIdentifier

func NewIdentifier(id string, authentication Authentications) (DidDocument, error)

NewIdentifier constructs a new Identifier

func (*DidDocument) Descriptor

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

func (*DidDocument) GetAuthentication

func (m *DidDocument) GetAuthentication() []*Authentication

func (DidDocument) GetBytes

func (did DidDocument) GetBytes() []byte

GetBytes is a helper for serializing

func (*DidDocument) GetContext

func (m *DidDocument) GetContext() string

func (*DidDocument) GetId

func (m *DidDocument) GetId() string

func (*DidDocument) GetServices

func (m *DidDocument) GetServices() []*Service

func (*DidDocument) Marshal

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

func (*DidDocument) MarshalTo

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

func (*DidDocument) MarshalToSizedBuffer

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

func (*DidDocument) ProtoMessage

func (*DidDocument) ProtoMessage()

func (*DidDocument) Reset

func (m *DidDocument) Reset()

func (*DidDocument) Size

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

func (*DidDocument) String

func (m *DidDocument) String() string

func (*DidDocument) Unmarshal

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

func (*DidDocument) XXX_DiscardUnknown

func (m *DidDocument) XXX_DiscardUnknown()

func (*DidDocument) XXX_Marshal

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

func (*DidDocument) XXX_Merge

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

func (*DidDocument) XXX_Size

func (m *DidDocument) XXX_Size() int

func (*DidDocument) XXX_Unmarshal

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

type MsgAddAuthentication

type MsgAddAuthentication struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// authentication represents public key associated with the did document.
	Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"`
	// owner is the address of the user creating the message
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgAddAuthentication

func NewMsgAddAuthentication(
	id string,
	authentication *Authentication,
	owner string,
) *MsgAddAuthentication

NewMsgAddAuthentication creates a new MsgAddAuthentication instance

func (*MsgAddAuthentication) Descriptor

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

func (MsgAddAuthentication) GetSignBytes

func (msg MsgAddAuthentication) GetSignBytes() []byte

func (MsgAddAuthentication) GetSigners

func (msg MsgAddAuthentication) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddAuthentication) Marshal

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

func (*MsgAddAuthentication) MarshalTo

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

func (*MsgAddAuthentication) MarshalToSizedBuffer

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

func (*MsgAddAuthentication) ProtoMessage

func (*MsgAddAuthentication) ProtoMessage()

func (*MsgAddAuthentication) Reset

func (m *MsgAddAuthentication) Reset()

func (MsgAddAuthentication) Route

func (MsgAddAuthentication) Route() string

Route implements sdk.Msg

func (*MsgAddAuthentication) Size

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

func (*MsgAddAuthentication) String

func (m *MsgAddAuthentication) String() string

func (MsgAddAuthentication) Type

Type implements sdk.Msg

func (*MsgAddAuthentication) Unmarshal

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

func (MsgAddAuthentication) ValidateBasic

func (msg MsgAddAuthentication) ValidateBasic() error

ValidateBasic performs a basic check of the MsgAddAuthentication fields.

func (*MsgAddAuthentication) XXX_DiscardUnknown

func (m *MsgAddAuthentication) XXX_DiscardUnknown()

func (*MsgAddAuthentication) XXX_Marshal

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

func (*MsgAddAuthentication) XXX_Merge

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

func (*MsgAddAuthentication) XXX_Size

func (m *MsgAddAuthentication) XXX_Size() int

func (*MsgAddAuthentication) XXX_Unmarshal

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

type MsgAddAuthenticationResponse

type MsgAddAuthenticationResponse struct {
}

func (*MsgAddAuthenticationResponse) Descriptor

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

func (*MsgAddAuthenticationResponse) Marshal

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

func (*MsgAddAuthenticationResponse) MarshalTo

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

func (*MsgAddAuthenticationResponse) MarshalToSizedBuffer

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

func (*MsgAddAuthenticationResponse) ProtoMessage

func (*MsgAddAuthenticationResponse) ProtoMessage()

func (*MsgAddAuthenticationResponse) Reset

func (m *MsgAddAuthenticationResponse) Reset()

func (*MsgAddAuthenticationResponse) Size

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

func (*MsgAddAuthenticationResponse) String

func (*MsgAddAuthenticationResponse) Unmarshal

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

func (*MsgAddAuthenticationResponse) XXX_DiscardUnknown

func (m *MsgAddAuthenticationResponse) XXX_DiscardUnknown()

func (*MsgAddAuthenticationResponse) XXX_Marshal

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

func (*MsgAddAuthenticationResponse) XXX_Merge

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

func (*MsgAddAuthenticationResponse) XXX_Size

func (m *MsgAddAuthenticationResponse) XXX_Size() int

func (*MsgAddAuthenticationResponse) XXX_Unmarshal

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

type MsgAddService

type MsgAddService struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// authentication represents public key associated with the did document.
	ServiceData *Service `protobuf:"bytes,2,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"`
	// owner is the address of the user creating the message
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgAddService

func NewMsgAddService(
	id string,
	service *Service,
	owner string,
) *MsgAddService

NewMsgAddService creates a new MsgAddService instance

func (*MsgAddService) Descriptor

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

func (MsgAddService) GetSignBytes

func (msg MsgAddService) GetSignBytes() []byte

func (MsgAddService) GetSigners

func (msg MsgAddService) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddService) Marshal

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

func (*MsgAddService) MarshalTo

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

func (*MsgAddService) MarshalToSizedBuffer

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

func (*MsgAddService) ProtoMessage

func (*MsgAddService) ProtoMessage()

func (*MsgAddService) Reset

func (m *MsgAddService) Reset()

func (MsgAddService) Route

func (MsgAddService) Route() string

Route implements sdk.Msg

func (*MsgAddService) Size

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

func (*MsgAddService) String

func (m *MsgAddService) String() string

func (MsgAddService) Type

func (MsgAddService) Type() string

Type implements sdk.Msg

func (*MsgAddService) Unmarshal

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

func (MsgAddService) ValidateBasic

func (msg MsgAddService) ValidateBasic() error

ValidateBasic performs a basic check of the MsgAddService fields.

func (*MsgAddService) XXX_DiscardUnknown

func (m *MsgAddService) XXX_DiscardUnknown()

func (*MsgAddService) XXX_Marshal

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

func (*MsgAddService) XXX_Merge

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

func (*MsgAddService) XXX_Size

func (m *MsgAddService) XXX_Size() int

func (*MsgAddService) XXX_Unmarshal

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

type MsgAddServiceResponse

type MsgAddServiceResponse struct {
}

func (*MsgAddServiceResponse) Descriptor

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

func (*MsgAddServiceResponse) Marshal

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

func (*MsgAddServiceResponse) MarshalTo

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

func (*MsgAddServiceResponse) MarshalToSizedBuffer

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

func (*MsgAddServiceResponse) ProtoMessage

func (*MsgAddServiceResponse) ProtoMessage()

func (*MsgAddServiceResponse) Reset

func (m *MsgAddServiceResponse) Reset()

func (*MsgAddServiceResponse) Size

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

func (*MsgAddServiceResponse) String

func (m *MsgAddServiceResponse) String() string

func (*MsgAddServiceResponse) Unmarshal

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

func (*MsgAddServiceResponse) XXX_DiscardUnknown

func (m *MsgAddServiceResponse) XXX_DiscardUnknown()

func (*MsgAddServiceResponse) XXX_Marshal

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

func (*MsgAddServiceResponse) XXX_Merge

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

func (*MsgAddServiceResponse) XXX_Size

func (m *MsgAddServiceResponse) XXX_Size() int

func (*MsgAddServiceResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// CreateDidDocument defines a method for creating a new identity.
	CreateIdentifier(ctx context.Context, in *MsgCreateIdentifier, opts ...grpc.CallOption) (*MsgCreateIdentifierResponse, error)
	AddAuthentication(ctx context.Context, in *MsgAddAuthentication, opts ...grpc.CallOption) (*MsgAddAuthenticationResponse, error)
	AddService(ctx context.Context, in *MsgAddService, opts ...grpc.CallOption) (*MsgAddServiceResponse, error)
	DeleteAuthentication(ctx context.Context, in *MsgDeleteAuthentication, opts ...grpc.CallOption) (*MsgDeleteAuthenticationResponse, error)
	DeleteService(ctx context.Context, in *MsgDeleteService, opts ...grpc.CallOption) (*MsgDeleteServiceResponse, error)
}

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 MsgCreateIdentifier

type MsgCreateIdentifier struct {
	Context string `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	Id      string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// authentication represents public key associated with the did document.
	Authentication []*Authentication `protobuf:"bytes,3,rep,name=authentication,proto3" json:"authentication,omitempty"`
	// services represents each service associated with a did
	Services []*Service `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"`
	// owner represents the user creating the message
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
}

MsgCreateIdentifier defines a SDK message for creating a new identifer.

func NewMsgCreateIdentifier

func NewMsgCreateIdentifier(
	id string,
	authentication []*Authentication,
	owner string,
) *MsgCreateIdentifier

NewMsgCreateIdentifier creates a new MsgCreateIdentifier instance

func (*MsgCreateIdentifier) Descriptor

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

func (MsgCreateIdentifier) GetSignBytes

func (msg MsgCreateIdentifier) GetSignBytes() []byte

func (MsgCreateIdentifier) GetSigners

func (msg MsgCreateIdentifier) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgCreateIdentifier) Marshal

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

func (*MsgCreateIdentifier) MarshalTo

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

func (*MsgCreateIdentifier) MarshalToSizedBuffer

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

func (*MsgCreateIdentifier) ProtoMessage

func (*MsgCreateIdentifier) ProtoMessage()

func (*MsgCreateIdentifier) Reset

func (m *MsgCreateIdentifier) Reset()

func (MsgCreateIdentifier) Route

func (MsgCreateIdentifier) Route() string

Route implements sdk.Msg

func (*MsgCreateIdentifier) Size

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

func (*MsgCreateIdentifier) String

func (m *MsgCreateIdentifier) String() string

func (MsgCreateIdentifier) Type

func (MsgCreateIdentifier) Type() string

Type implements sdk.Msg

func (*MsgCreateIdentifier) Unmarshal

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

func (MsgCreateIdentifier) ValidateBasic

func (msg MsgCreateIdentifier) ValidateBasic() error

ValidateBasic performs a basic check of the MsgCreateIdentifier fields.

func (*MsgCreateIdentifier) XXX_DiscardUnknown

func (m *MsgCreateIdentifier) XXX_DiscardUnknown()

func (*MsgCreateIdentifier) XXX_Marshal

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

func (*MsgCreateIdentifier) XXX_Merge

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

func (*MsgCreateIdentifier) XXX_Size

func (m *MsgCreateIdentifier) XXX_Size() int

func (*MsgCreateIdentifier) XXX_Unmarshal

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

type MsgCreateIdentifierResponse

type MsgCreateIdentifierResponse struct {
}

func (*MsgCreateIdentifierResponse) Descriptor

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

func (*MsgCreateIdentifierResponse) Marshal

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

func (*MsgCreateIdentifierResponse) MarshalTo

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

func (*MsgCreateIdentifierResponse) MarshalToSizedBuffer

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

func (*MsgCreateIdentifierResponse) ProtoMessage

func (*MsgCreateIdentifierResponse) ProtoMessage()

func (*MsgCreateIdentifierResponse) Reset

func (m *MsgCreateIdentifierResponse) Reset()

func (*MsgCreateIdentifierResponse) Size

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

func (*MsgCreateIdentifierResponse) String

func (m *MsgCreateIdentifierResponse) String() string

func (*MsgCreateIdentifierResponse) Unmarshal

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

func (*MsgCreateIdentifierResponse) XXX_DiscardUnknown

func (m *MsgCreateIdentifierResponse) XXX_DiscardUnknown()

func (*MsgCreateIdentifierResponse) XXX_Marshal

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

func (*MsgCreateIdentifierResponse) XXX_Merge

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

func (*MsgCreateIdentifierResponse) XXX_Size

func (m *MsgCreateIdentifierResponse) XXX_Size() int

func (*MsgCreateIdentifierResponse) XXX_Unmarshal

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

type MsgDeleteAuthentication

type MsgDeleteAuthentication struct {
	Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// owner is the address of the user creating the message
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgDeleteAuthentication

func NewMsgDeleteAuthentication(
	id string,
	key string,
	owner string,
) *MsgDeleteAuthentication

NewMsgDeleteAuthentication creates a new MsgDeleteAuthentication instance

func (*MsgDeleteAuthentication) Descriptor

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

func (MsgDeleteAuthentication) GetSignBytes

func (msg MsgDeleteAuthentication) GetSignBytes() []byte

func (MsgDeleteAuthentication) GetSigners

func (msg MsgDeleteAuthentication) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteAuthentication) Marshal

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

func (*MsgDeleteAuthentication) MarshalTo

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

func (*MsgDeleteAuthentication) MarshalToSizedBuffer

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

func (*MsgDeleteAuthentication) ProtoMessage

func (*MsgDeleteAuthentication) ProtoMessage()

func (*MsgDeleteAuthentication) Reset

func (m *MsgDeleteAuthentication) Reset()

func (MsgDeleteAuthentication) Route

Route implements sdk.Msg

func (*MsgDeleteAuthentication) Size

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

func (*MsgDeleteAuthentication) String

func (m *MsgDeleteAuthentication) String() string

func (MsgDeleteAuthentication) Type

Type implements sdk.Msg

func (*MsgDeleteAuthentication) Unmarshal

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

func (MsgDeleteAuthentication) ValidateBasic

func (msg MsgDeleteAuthentication) ValidateBasic() error

ValidateBasic performs a basic check of the MsgDeleteAuthentication fields.

func (*MsgDeleteAuthentication) XXX_DiscardUnknown

func (m *MsgDeleteAuthentication) XXX_DiscardUnknown()

func (*MsgDeleteAuthentication) XXX_Marshal

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

func (*MsgDeleteAuthentication) XXX_Merge

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

func (*MsgDeleteAuthentication) XXX_Size

func (m *MsgDeleteAuthentication) XXX_Size() int

func (*MsgDeleteAuthentication) XXX_Unmarshal

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

type MsgDeleteAuthenticationResponse

type MsgDeleteAuthenticationResponse struct {
}

func (*MsgDeleteAuthenticationResponse) Descriptor

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

func (*MsgDeleteAuthenticationResponse) Marshal

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

func (*MsgDeleteAuthenticationResponse) MarshalTo

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

func (*MsgDeleteAuthenticationResponse) MarshalToSizedBuffer

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

func (*MsgDeleteAuthenticationResponse) ProtoMessage

func (*MsgDeleteAuthenticationResponse) ProtoMessage()

func (*MsgDeleteAuthenticationResponse) Reset

func (*MsgDeleteAuthenticationResponse) Size

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

func (*MsgDeleteAuthenticationResponse) String

func (*MsgDeleteAuthenticationResponse) Unmarshal

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

func (*MsgDeleteAuthenticationResponse) XXX_DiscardUnknown

func (m *MsgDeleteAuthenticationResponse) XXX_DiscardUnknown()

func (*MsgDeleteAuthenticationResponse) XXX_Marshal

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

func (*MsgDeleteAuthenticationResponse) XXX_Merge

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

func (*MsgDeleteAuthenticationResponse) XXX_Size

func (m *MsgDeleteAuthenticationResponse) XXX_Size() int

func (*MsgDeleteAuthenticationResponse) XXX_Unmarshal

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

type MsgDeleteService

type MsgDeleteService struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// owner is the address of the user creating the message
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgDeleteService

func NewMsgDeleteService(
	id string,
	serviceID string,
	owner string,
) *MsgDeleteService

func (*MsgDeleteService) Descriptor

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

func (MsgDeleteService) GetSignBytes

func (msg MsgDeleteService) GetSignBytes() []byte

func (MsgDeleteService) GetSigners

func (msg MsgDeleteService) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteService) Marshal

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

func (*MsgDeleteService) MarshalTo

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

func (*MsgDeleteService) MarshalToSizedBuffer

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

func (*MsgDeleteService) ProtoMessage

func (*MsgDeleteService) ProtoMessage()

func (*MsgDeleteService) Reset

func (m *MsgDeleteService) Reset()

func (MsgDeleteService) Route

func (MsgDeleteService) Route() string

Route implements sdk.Msg

func (*MsgDeleteService) Size

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

func (*MsgDeleteService) String

func (m *MsgDeleteService) String() string

func (MsgDeleteService) Type

func (MsgDeleteService) Type() string

Type implements sdk.Msg

func (*MsgDeleteService) Unmarshal

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

func (MsgDeleteService) ValidateBasic

func (msg MsgDeleteService) ValidateBasic() error

ValidateBasic performs a basic check of the MsgDeleteService fields.

func (*MsgDeleteService) XXX_DiscardUnknown

func (m *MsgDeleteService) XXX_DiscardUnknown()

func (*MsgDeleteService) XXX_Marshal

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

func (*MsgDeleteService) XXX_Merge

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

func (*MsgDeleteService) XXX_Size

func (m *MsgDeleteService) XXX_Size() int

func (*MsgDeleteService) XXX_Unmarshal

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

type MsgDeleteServiceResponse

type MsgDeleteServiceResponse struct {
}

func (*MsgDeleteServiceResponse) Descriptor

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

func (*MsgDeleteServiceResponse) Marshal

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

func (*MsgDeleteServiceResponse) MarshalTo

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

func (*MsgDeleteServiceResponse) MarshalToSizedBuffer

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

func (*MsgDeleteServiceResponse) ProtoMessage

func (*MsgDeleteServiceResponse) ProtoMessage()

func (*MsgDeleteServiceResponse) Reset

func (m *MsgDeleteServiceResponse) Reset()

func (*MsgDeleteServiceResponse) Size

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

func (*MsgDeleteServiceResponse) String

func (m *MsgDeleteServiceResponse) String() string

func (*MsgDeleteServiceResponse) Unmarshal

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

func (*MsgDeleteServiceResponse) XXX_DiscardUnknown

func (m *MsgDeleteServiceResponse) XXX_DiscardUnknown()

func (*MsgDeleteServiceResponse) XXX_Marshal

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

func (*MsgDeleteServiceResponse) XXX_Merge

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

func (*MsgDeleteServiceResponse) XXX_Size

func (m *MsgDeleteServiceResponse) XXX_Size() int

func (*MsgDeleteServiceResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// CreateDidDocument defines a method for creating a new identity.
	CreateIdentifier(context.Context, *MsgCreateIdentifier) (*MsgCreateIdentifierResponse, error)
	AddAuthentication(context.Context, *MsgAddAuthentication) (*MsgAddAuthenticationResponse, error)
	AddService(context.Context, *MsgAddService) (*MsgAddServiceResponse, error)
	DeleteAuthentication(context.Context, *MsgDeleteAuthentication) (*MsgDeleteAuthenticationResponse, error)
	DeleteService(context.Context, *MsgDeleteService) (*MsgDeleteServiceResponse, error)
}

MsgServer is the server API for Msg service.

type QueryClient

type QueryClient interface {
	// Identifers queries all validators that match the given status.
	Identifiers(ctx context.Context, in *QueryIdentifiersRequest, opts ...grpc.CallOption) (*QueryIdentifiersResponse, error)
	Identifier(ctx context.Context, in *QueryIdentifierRequest, opts ...grpc.CallOption) (*QueryIdentifierResponse, 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 QueryIdentifierRequest

type QueryIdentifierRequest struct {
	// status enables to query for validators matching a given status.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryIdentifersRequest is request type for Query/Identifers RPC method.

func (*QueryIdentifierRequest) Descriptor

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

func (*QueryIdentifierRequest) GetId

func (m *QueryIdentifierRequest) GetId() string

func (*QueryIdentifierRequest) Marshal

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

func (*QueryIdentifierRequest) MarshalTo

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

func (*QueryIdentifierRequest) MarshalToSizedBuffer

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

func (*QueryIdentifierRequest) ProtoMessage

func (*QueryIdentifierRequest) ProtoMessage()

func (*QueryIdentifierRequest) Reset

func (m *QueryIdentifierRequest) Reset()

func (*QueryIdentifierRequest) Size

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

func (*QueryIdentifierRequest) String

func (m *QueryIdentifierRequest) String() string

func (*QueryIdentifierRequest) Unmarshal

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

func (*QueryIdentifierRequest) XXX_DiscardUnknown

func (m *QueryIdentifierRequest) XXX_DiscardUnknown()

func (*QueryIdentifierRequest) XXX_Marshal

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

func (*QueryIdentifierRequest) XXX_Merge

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

func (*QueryIdentifierRequest) XXX_Size

func (m *QueryIdentifierRequest) XXX_Size() int

func (*QueryIdentifierRequest) XXX_Unmarshal

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

type QueryIdentifierResponse

type QueryIdentifierResponse struct {
	// validators contains all the queried validators.
	DidDocument DidDocument `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument"`
}

QueryIdentifersResponse is response type for the Query/Identifers RPC method

func (*QueryIdentifierResponse) Descriptor

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

func (*QueryIdentifierResponse) GetDidDocument

func (m *QueryIdentifierResponse) GetDidDocument() DidDocument

func (*QueryIdentifierResponse) Marshal

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

func (*QueryIdentifierResponse) MarshalTo

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

func (*QueryIdentifierResponse) MarshalToSizedBuffer

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

func (*QueryIdentifierResponse) ProtoMessage

func (*QueryIdentifierResponse) ProtoMessage()

func (*QueryIdentifierResponse) Reset

func (m *QueryIdentifierResponse) Reset()

func (*QueryIdentifierResponse) Size

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

func (*QueryIdentifierResponse) String

func (m *QueryIdentifierResponse) String() string

func (*QueryIdentifierResponse) Unmarshal

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

func (*QueryIdentifierResponse) XXX_DiscardUnknown

func (m *QueryIdentifierResponse) XXX_DiscardUnknown()

func (*QueryIdentifierResponse) XXX_Marshal

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

func (*QueryIdentifierResponse) XXX_Merge

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

func (*QueryIdentifierResponse) XXX_Size

func (m *QueryIdentifierResponse) XXX_Size() int

func (*QueryIdentifierResponse) XXX_Unmarshal

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

type QueryIdentifiersRequest

type QueryIdentifiersRequest struct {
	// status enables to query for validators matching a given status.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryIdentifersRequest is request type for Query/Identifers RPC method.

func (*QueryIdentifiersRequest) Descriptor

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

func (*QueryIdentifiersRequest) GetPagination

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

func (*QueryIdentifiersRequest) GetStatus

func (m *QueryIdentifiersRequest) GetStatus() string

func (*QueryIdentifiersRequest) Marshal

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

func (*QueryIdentifiersRequest) MarshalTo

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

func (*QueryIdentifiersRequest) MarshalToSizedBuffer

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

func (*QueryIdentifiersRequest) ProtoMessage

func (*QueryIdentifiersRequest) ProtoMessage()

func (*QueryIdentifiersRequest) Reset

func (m *QueryIdentifiersRequest) Reset()

func (*QueryIdentifiersRequest) Size

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

func (*QueryIdentifiersRequest) String

func (m *QueryIdentifiersRequest) String() string

func (*QueryIdentifiersRequest) Unmarshal

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

func (*QueryIdentifiersRequest) XXX_DiscardUnknown

func (m *QueryIdentifiersRequest) XXX_DiscardUnknown()

func (*QueryIdentifiersRequest) XXX_Marshal

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

func (*QueryIdentifiersRequest) XXX_Merge

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

func (*QueryIdentifiersRequest) XXX_Size

func (m *QueryIdentifiersRequest) XXX_Size() int

func (*QueryIdentifiersRequest) XXX_Unmarshal

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

type QueryIdentifiersResponse

type QueryIdentifiersResponse struct {
	// validators contains all the queried validators.
	DidDocuments []DidDocument `protobuf:"bytes,1,rep,name=didDocuments,proto3" json:"didDocuments"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryIdentifersResponse is response type for the Query/Identifers RPC method

func (*QueryIdentifiersResponse) Descriptor

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

func (*QueryIdentifiersResponse) GetDidDocuments

func (m *QueryIdentifiersResponse) GetDidDocuments() []DidDocument

func (*QueryIdentifiersResponse) GetPagination

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

func (*QueryIdentifiersResponse) Marshal

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

func (*QueryIdentifiersResponse) MarshalTo

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

func (*QueryIdentifiersResponse) MarshalToSizedBuffer

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

func (*QueryIdentifiersResponse) ProtoMessage

func (*QueryIdentifiersResponse) ProtoMessage()

func (*QueryIdentifiersResponse) Reset

func (m *QueryIdentifiersResponse) Reset()

func (*QueryIdentifiersResponse) Size

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

func (*QueryIdentifiersResponse) String

func (m *QueryIdentifiersResponse) String() string

func (*QueryIdentifiersResponse) Unmarshal

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

func (*QueryIdentifiersResponse) XXX_DiscardUnknown

func (m *QueryIdentifiersResponse) XXX_DiscardUnknown()

func (*QueryIdentifiersResponse) XXX_Marshal

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

func (*QueryIdentifiersResponse) XXX_Merge

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

func (*QueryIdentifiersResponse) XXX_Size

func (m *QueryIdentifiersResponse) XXX_Size() int

func (*QueryIdentifiersResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Identifers queries all validators that match the given status.
	Identifiers(context.Context, *QueryIdentifiersRequest) (*QueryIdentifiersResponse, error)
	Identifier(context.Context, *QueryIdentifierRequest) (*QueryIdentifierResponse, error)
}

QueryServer is the server API for Query service.

type Service

type Service struct {
	Id              string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type            string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	ServiceEndpoint string `protobuf:"bytes,3,opt,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"`
}

Service defines how to find data associated with a identifer

func NewService

func NewService(id string, serviceType string, serviceEndpoint string) Service

func (*Service) Descriptor

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

func (*Service) Equal

func (this *Service) Equal(that interface{}) bool

func (*Service) GetId

func (m *Service) GetId() string

func (*Service) GetServiceEndpoint

func (m *Service) GetServiceEndpoint() string

func (*Service) GetType

func (m *Service) GetType() string

func (*Service) Marshal

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

func (*Service) MarshalTo

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

func (*Service) MarshalToSizedBuffer

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

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) Size

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

func (*Service) String

func (m *Service) String() string

func (*Service) Unmarshal

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

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

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

func (*Service) XXX_Merge

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

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

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

type Services

type Services []*Service

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddAuthentication

func (*UnimplementedMsgServer) AddService

func (*UnimplementedMsgServer) CreateIdentifier

func (*UnimplementedMsgServer) DeleteAuthentication

func (*UnimplementedMsgServer) DeleteService

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Identifier

func (*UnimplementedQueryServer) Identifiers

Jump to

Keyboard shortcuts

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