Help us shape the future of Go! Take the 2026 Go Developer Survey

msgservice

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 19 Imported by: 6,146

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_Service = &proto.ExtensionDesc{
	ExtendedType:  (*descriptorpb.ServiceOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         11110000,
	Name:          "cosmos.msg.v1.service",
	Tag:           "varint,11110000,opt,name=service",
	Filename:      "cosmos/msg/v1/msg.proto",
}
View Source
var E_Signer = &proto.ExtensionDesc{
	ExtendedType:  (*descriptorpb.MessageOptions)(nil),
	ExtensionType: ([]string)(nil),
	Field:         11110000,
	Name:          "cosmos.msg.v1.signer",
	Tag:           "bytes,11110000,rep,name=signer",
	Filename:      "cosmos/msg/v1/msg.proto",
}

Functions

func RegisterMsgServiceDesc

func RegisterMsgServiceDesc(registry codectypes.InterfaceRegistry, sd *grpc.ServiceDesc)

RegisterMsgServiceDesc registers all type_urls from Msg services described in `sd` into the registry.

func ValidateProtoAnnotations added in v0.50.0

func ValidateProtoAnnotations(protoFiles signing.ProtoFileResolver) error

ValidateProtoAnnotations validates that the proto annotations are correct. More specifically, it verifies: - all services named "Msg" have `(cosmos.msg.v1.service) = true`,

More validations can be added here in the future.

If `protoFiles` is nil, then protoregistry.GlobalFile will be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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