Fixed typos and improved clarity in documentation (#23077)
This commit is contained in:
parent
817557365b
commit
ef7dbc9ab9
@ -114,7 +114,7 @@ func (m *ListAllInterfacesResponse) GetInterfaceNames() []string {
|
||||
// ListImplementationsRequest is the request type of the ListImplementations
|
||||
// RPC.
|
||||
type ListImplementationsRequest struct {
|
||||
// interface_name defines the interface to query the implementations for.
|
||||
// interface_name defines the interface to query the implementations.
|
||||
InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
|
||||
}
|
||||
|
||||
@ -300,12 +300,12 @@ type ReflectionServiceServer interface {
|
||||
ListImplementations(context.Context, *ListImplementationsRequest) (*ListImplementationsResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedReflectionServiceServer can be embedded to have forward compatible implementations.
|
||||
// UnimplementedReflectionServiceServer can be embedded to have forward-compatible implementations.
|
||||
type UnimplementedReflectionServiceServer struct {
|
||||
}
|
||||
|
||||
func (*UnimplementedReflectionServiceServer) ListAllInterfaces(ctx context.Context, req *ListAllInterfacesRequest) (*ListAllInterfacesResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListAllInterfaces not implemented")
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListAllInterfaces is not implemented")
|
||||
}
|
||||
func (*UnimplementedReflectionServiceServer) ListImplementations(ctx context.Context, req *ListImplementationsRequest) (*ListImplementationsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListImplementations not implemented")
|
||||
|
||||
@ -21,7 +21,7 @@ service Msg {
|
||||
}
|
||||
|
||||
message MsgRequest {
|
||||
// u32 is an uint32
|
||||
// u32 is a uint32
|
||||
uint32 u32 = 1;
|
||||
uint64 u64 = 2;
|
||||
string str = 3;
|
||||
|
||||
@ -181,7 +181,7 @@ func txParamsFromFlagSet(flags *pflag.FlagSet, keybase keyring2.Keyring, ac addr
|
||||
|
||||
fees, _ := flags.GetString(FlagFees)
|
||||
feePayer, _ := flags.GetString(FlagFeePayer)
|
||||
feeGrater, _ := flags.GetString(FlagFeeGranter)
|
||||
feeGranter, _ := flags.GetString(FlagFeeGranter)
|
||||
|
||||
unordered, _ := flags.GetBool(FlagUnordered)
|
||||
|
||||
@ -189,7 +189,7 @@ func txParamsFromFlagSet(flags *pflag.FlagSet, keybase keyring2.Keyring, ac addr
|
||||
if err != nil {
|
||||
return params, err
|
||||
}
|
||||
feeConfig, err := NewFeeConfig(fees, feePayer, feeGrater)
|
||||
feeConfig, err := NewFeeConfig(fees, feePayer, feeGranter)
|
||||
if err != nil {
|
||||
return params, err
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Server Defines types and interfaces which are shared between Consensus, Appmanager and Stf
|
||||
// Server Defines types and interfaces which are shared between Consensus, App Manager and Stf
|
||||
// This package is not meant to be used directly by modules instead if an advanced user would like
|
||||
// to create a custom server or replace a component in the server they will need to use the app package.
|
||||
package server
|
||||
|
||||
@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// Language is a language to create the BIP 39 mnemonic in.
|
||||
// Currently, only english is supported though.
|
||||
// Currently, only English is supported though.
|
||||
// Find a list of all supported languages in the BIP 39 spec (word lists).
|
||||
type Language int
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user