type go.opentelemetry.io/otel/codes.Code
12 uses
go.opentelemetry.io/otel/codes (current package)
codes.go#L25: Unset Code = 0
codes.go#L32: Error Code = 1
codes.go#L40: Ok Code = 2
codes.go#L46: type Code uint32
codes.go#L48: var codeToStr = map[Code]string{
codes.go#L54: var strToCode = map[string]Code{
codes.go#L61: func (c Code) String() string {
codes.go#L69: func (c *Code) UnmarshalJSON(b []byte) error {
codes.go#L97: *c = Code(ci)
codes.go#L107: func (c *Code) MarshalJSON() ([]byte, error) {
go.opentelemetry.io/otel/trace
noop.go#L72: func (noopSpan) SetStatus(codes.Code, string) {}
trace.go#L382: SetStatus(code codes.Code, description string)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |