Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a protobuf message of the specified type that describes a private key. A ProtoBuilder must have been registered for this type using RegisterType() first.
func RegisterType ¶
func RegisterType(protoType string, builder ProtoBuilder)
RegisterType registers a func that can create protobuf messages which describe a private key.
func RegisteredTypes ¶
func RegisteredTypes() []string
RegisteredTypes returns a list of protobuf message types that have been registered using RegisterType().
Types ¶
type ProtoBuilder ¶
ProtoBuilder creates a protobuf message that describes a private key. It may use flags to obtain the required information, e.g. file paths.
Click to show internal directories.
Click to hide internal directories.