func parseToken(token string) (struct{}, error) {
	if token != util.GetAuthToken() {
		return struct{}{}, errors.New("Invalid session token")
	}

	// Currently this empty struct doesn't add any information
	// to the context, but we could potentially add some custom
	// type.
	return struct{}{}, nil
}
// parseToken parses the token and validate it for our gRPC API, it returns an empty
// struct and an error or nil
parseToken parses the token and validate it for our gRPC API, it returns an empty
struct and an error or nil
// parseToken parses the token and validate it for our gRPC API it returns an empty // struct and an error or nil
func parseToken(token string) (struct{}, error) {
	if token != util.GetAuthToken() {
		return struct{}{}, errors.New("Invalid session token")
	}
	return struct{}{}, nil
}
func parseToken ( token string ) ( struct { } , error ) { if token != util . GetAuthToken ( ) { return struct { } { } , errors . New ( " " ) } return struct { } { } , nil }
parseToken parses the token and validate it for our gRPC API, it returns an empty
struct and an error or nil
parseToken parses the token and validate it for our gRPC API it returns an empty struct and an error or nil
// Currently this empty struct doesn't add any information // to the context, but we could potentially add some custom // type.