type go.opentelemetry.io/otel/codes.Code
13 uses
go.opentelemetry.io/otel/codes (current package)
codes.go#L15: Unset Code = 0
codes.go#L22: Error Code = 1
codes.go#L30: Ok Code = 2
codes.go#L36: type Code uint32
codes.go#L38: var codeToStr = map[Code]string{
codes.go#L44: var strToCode = map[string]Code{
codes.go#L51: func (c Code) String() string {
codes.go#L59: func (c *Code) UnmarshalJSON(b []byte) error {
codes.go#L87: *c = Code(ci) // nolint: gosec // Bit size of 32 check above.
codes.go#L97: func (c *Code) MarshalJSON() ([]byte, error) {
go.opentelemetry.io/otel/trace
auto.go#L192: func (s *autoSpan) SetStatus(c codes.Code, msg string) {
noop.go#L61: func (noopSpan) SetStatus(codes.Code, string) {}
span.go#L61: SetStatus(code codes.Code, description string)
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |