Documentation
¶
Overview ¶
Package uddi creates pseudo UDDI tokens.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create() string
Create generates a UDDI exadedimal string.
Example ¶
rand.Seed(int64(99)) t := Create() fmt.Println(t)
Output: 75ed1842-49e9-bc19-675e-4d1f766213da
func CreateCtx ¶
CreateCtx generates a UDDI exadedimal string.
Example ¶
rand.Seed(int64(99)) ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() time.Sleep(2 * time.Second) t, err := CreateCtx(ctx) if err != nil { fmt.Println(err) } fmt.Println(t)
Output: impossible to generate UDDI: context deadline exceeded
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.