...

Source file src/golang.conradwood.net/go-easyops/server/parse_inbound_context.go

Documentation: golang.conradwood.net/go-easyops/server

     1  package server
     2  
     3  import (
     4  	"context"
     5  	"golang.conradwood.net/go-easyops/rpc"
     6  )
     7  
     8  /*
     9  	given a context (as received by gRPC) parse it into CallState.
    10  
    11  returns:
    12  
    13  	true - if v2 context was found, false if not
    14  	error - if v2 context was found, but failed to parse.
    15  	(no v2 context is not an error)
    16  */
    17  func parse_inbound_context_v2(ctx context.Context, out *rpc.CallState) (bool, error) {
    18  	return false, nil
    19  }
    20  

View as plain text