Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRegistered is the code has been registered ErrRegistered = errors.New("this code has beed registered") )
Functions ¶
func CreateCred ¶
func CreateCred(certFile, keyFile string) (grpc.ServerOption, error)
CreateCred is helper to create creadential for grpc server
Types ¶
Click to show internal directories.
Click to hide internal directories.